high7.2
CVE-2026-137511
Scriban before 7.6.0 contains a state isolation vulnerability because TemplateContext.Reset() does not clear the Tags dictionary holding array.cycle and math.r…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed, high risk of outages.
Affected products (Scriban)
| Product | Affected versions |
|---|---|
| Scriban | before 7.6.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg
- https://github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontext-reset-tags
- https://github.com/advisories/GHSA-6whr-9hg7-mc6x
- https://nvd.nist.gov/vuln/detail/CVE-2026-137511