Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137511: high-severity vulnerability (CVSS 7.2) in scriban scriban.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
scriban scriban < 7.6.0; scriban scriban 7.6.0 (fixed in 7.6.0)
| Product | Versions | Fixed in |
|---|---|---|
| scriban scriban | < 7.6.0 | — |
| scriban scriban | 7.6.0 | 7.6.0 |
Action recommended by the source
Upgrade to a fixed version: 7.6.0.
Fixed in: 7.6.0
Sources and references
- https://github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg — CVE Program
- https://github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw — CVE Program
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontext-reset-tags — CVE Program
Weaknesses (CWE): CWE-226
Relevant change history
Published
Preliminary advisory published.