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

Published Updated

CVSS score

High

7.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
7.6.0
Attack path
Over the network
Any signed-in user, no user action

What is CVE-2026-137511?

CVE-2026-137511 is a high-severity vulnerability in scriban, published on 26 Nov 2026.

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

Weakness: CWE-226

How severe is CVE-2026-137511?

CVE-2026-137511 scores 7.2 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
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

Which versions are affected by CVE-2026-137511?

2 open source packages ship an affected version, including Scriban and Scriban.Signed.

PackageAffectedFixed in
Scriban NuGet
pkg:nuget/Scriban
All versions7.6.0
Scriban.Signed NuGet
pkg:nuget/Scriban.Signed
All versions7.6.0

How do I fix CVE-2026-137511?

Upgrade Scriban to 7.6.0 or later.

Is CVE-2026-137511 being exploited?

There is no known exploitation of CVE-2026-137511 in the wild and no public exploit code.

Sources

Also known as GHSA-6whr-9hg7-mc6x.

Is CVE-2026-137511 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free