CVE-2026-137511
published high CVSS 4.0 · 7.2Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 7.6.0 (affected · semver) · 7.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| scriban | — | scriban0 to < 7.6.0 (affected · semver) · 7.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scriban | scriban | 0 to < 7.6.0 (affected · semver)7.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| scriban | scriban | 0 to < 7.6.0 (affected · semver)7.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-226 Sensitive Information in Resource Not Removed Before Reuse
References
3- GitHub Security Advisory (GHSA-8637-5q5q-hxvw) https://github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw
- GitHub Security Advisory (GHSA-vhvh-mqjm-8vpg) https://github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg
- VulnCheck Advisory: Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags https://www.vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontext-reset-tags
Provider assertions
2VulnCheck · cna
Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5f5ea359098973cfa6e72c85393f06fc22a544f11d92f2043540cf570e28c8b3
- Ingested
- 01 Dec 2026, 20:31:26 UTC
- Source record
- Official CVE record