CVE-2026-137510
Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.99% (p61)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- scriban scriban
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
7.6.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | scriban | >=0, <7.6.0 | 7.6.0 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4 vendor-advisory
- https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53 vendor-advisory
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-unguarded-string-and-html-builtins third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137510.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137510 advisory