Skip to content

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

HighCVSS 7.2 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nuget scriban < 7.6.0 7.6.0 Fixed
nuget Scriban.Signed < 7.6.0 7.6.0 Fixed

Affected products

ProductAffected versionsFixed in
nuget scriban < 7.6.0 7.6.0
nuget Scriban.Signed < 7.6.0 7.6.0

References