CVE-2026-137511

Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags

High published · updated

7.2
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
scriban scriban 0 → <7.6.07.6.0 CVE.org

References