← VULNERABILITIES

CVE-2026-137511

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

High · 7.2Fix available
CVSS
7.2
EPSS
0.53% (p38)
Published
2026-11-26
Age
2d old
Modified
2026-11-26
Product
scriban scriban

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

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.

Fixed in

7.6.0

Affected packages

EcosystemPackageRangeFixed
vendorscriban>=0, <7.6.07.6.0

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • OSV · first seen 2d ago · CC-BY 4.0
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON