Scriban before 7.6.0 contains a state isolation vulnerability because TemplateContext.Reset() does not clear the Tags
Source GCVE Database
Not known to be exploited · CVSS 7.2 High : upgrade to 7.6.0 soon.
Data as of 27 Nov 2026, 02:04 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.6 |
- Patch
- Available – fixed in 7.6.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade scriban to 7.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| scribanscriban | Affected
| Fixed in
|
NuGetscribanpkg:nuget/scribanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Scriban version 7.6.0 or later where this vulnerability is fixed. No vendor advisory or patch links are provided in the input, but the version boundary is clearly stated. Until upgraded, avoid reusing TemplateContext instances with untrusted templates to mitigate state leakage and memory exhaustion risks.
Description
Scriban versions before 7.6.0 have a state isolation vulnerability due to TemplateContext.Reset() not clearing the Tags dictionary, which holds state for array.cycle and math.random. This flaw allows attackers who supply templates to a reused context to observe or influence cycle positions and random sequences across multiple renders. Additionally, attackers can cause unbounded growth of cycle entries, potentially exhausting memory.
References
- github.com/scriban/scriban/security/advisories/GHSA-8637-5q5q-hxvw (opens in a new tab)
- github.com/scriban/scriban/security/advisories/GHSA-vhvh-mqjm-8vpg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-137511 (opens in a new tab)
- vulncheck.com/advisories/scriban-before-7.6.0-state-leakage-via-templatecontext-reset-tags (opens in a new tab)