CVE-2026-137511

7.6High

Published Nov 26, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.6CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
High impact on availability
Weakness
CWE-226

What an attacker gets

Authenticated attackers can influence random number sequences and cycle positions across different template renders. They can also trigger memory exhaustion by accumulating unbounded cycle entries in reused contexts.

Root cause

The TemplateContext.Reset() method fails to clear the Tags dictionary, causing state to persist between template executions.

Affected versions

Scriban before 7.6.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Fix & remediation

Upgrade to Scriban 7.6.0 or later. If you cannot upgrade immediately, avoid reusing TemplateContext instances across different users or untrusted templates.

remediation — bash
$ dotnet add package Scriban --version 7.6.0

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137511

More fully triaged vulnerabilities you may want to check next.