Skip to content

CVE-2026-137510 Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins

HighCVSS 8.7 EPSS 0.99%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host 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