Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137510: high-severity vulnerability (CVSS 8.7) in scriban scriban.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
scriban scriban < 7.6.0; scriban scriban 7.6.0 (fixed in 7.6.0)
| Product | Versions | Fixed in |
|---|---|---|
| scriban scriban | < 7.6.0 | — |
| scriban scriban | 7.6.0 | 7.6.0 |
Action recommended by the source
Upgrade to a fixed version: 7.6.0.
Fixed in: 7.6.0
Sources and references
- https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4 — CVE Program
- https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53 — CVE Program
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-unguarded-string-and-html-builtins — CVE Program
Weaknesses (CWE): CWE-400
Relevant change history
Published
Preliminary advisory published.