CVE-2026-137511
Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags
7.2
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 / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| scriban | scriban | 0 → <7.6.0 | 7.6.0 | CVE.org |