CVE-2026-137511
Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags
High · 7.2Fix available
- CVSS
- 7.2
- EPSS
- 0.53% (p38)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-26
- Product
- scriban scriban
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Description
Scriban before 7.6.0 contains a state isolation vulnerability because TemplateContext.Reset() does not clear the Tags dictionary holding array.cycle and math.random state. Attackers supplying templates to a reused context can observe or influence cycle positions and random sequences across renders, and accumulate unbounded cycle entries to exhaust memory.
Fixed in
7.6.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | scriban | >=0, <7.6.0 | 7.6.0 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg vendor-advisory
- https://github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw vendor-advisory
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontext-reset-tags third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137511.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137511 advisory