Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4
- https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-
FAQ
What is CVE-2026-137510?
CVE-2026-137510 is a vulnerability with a CVSS score of 7.5 (HIGH). 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.u...
How severe is CVE-2026-137510?
CVE-2026-137510 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137510?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.