# CVE-2026-137511: Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-26T16:00:53.946Z
- Modified: 2026-12-01T21:17:04.673Z
- Weaknesses: CWE-226
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- scriban scriban: before 7.6.0 (not affected: 7.6.0)

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`

## References

- <https://github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg> (exploit, vendor-advisory)
- <https://github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw> (vendor-advisory)
- <https://www.vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontext-reset-tags> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137511](https://www.cve.org/CVERecord?id=CVE-2026-137511), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137511](https://nvd.nist.gov/vuln/detail/CVE-2026-137511), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137511 · Whole record: https://cve.day/CVE-2026-137511.json · Rebuilt by cve.day 2026-12-01T21:17:14.083Z
