CVE-2026-137511
JSON

7.2high

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

Severity
7.2high CVSS:4.0 by VulnCheck
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
scriban scribanbefore 7.6.0
Not affected: 7.6.0
CVE List

All scores

VulnCheck7.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Classification

CWE-226

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137511 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-137511 changed 2026-12-01Public domain