All vulnerabilities

NuGet

CVE-2026-137511

Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags

Severity
High 7.2
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
7.6.0
Exploit chance
0.5% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
CWE-226
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data · Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
ScribanNuGet · osv:NuGet:Scriban
  • Every version before 7.6.0
Scriban.SignedNuGet · osv:NuGet:Scriban.Signed
  • Every version before 7.6.0

About Scriban

Total downloads (NuGet)
62,114,063NuGet, 24 Nov 2026

About Scriban.Signed

Total downloads (NuGet)
56,237,750NuGet, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137511