CVE-2026-137511
highScriban before 7.6.0 contains a state isolation vulnerability because TemplateContext.Reset() does not clear the Tags dictionary holding array.cycle and math.r…
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw disclosure@vulncheck.com
- https://github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontex... disclosure@vulncheck.com

