What is CVE-2026-137508?
CVE-2026-137508 is a high-severity vulnerability in scriban, published on 26 Nov 2026.
Official description
Scriban before 7.6.0 contains a memory exhaustion vulnerability in object.to_json that allows template authors to bypass the LimitToString string length limit by serializing into an unbounded MemoryStream. Attackers can repeatedly apply object.to_json to escape-heavy strings in a tiny template, amplifying output to multi-gigabyte heap allocations and causing denial of service.
Weakness: CWE-770
How severe is CVE-2026-137508?
CVE-2026-137508 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- High
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
Which versions are affected by CVE-2026-137508?
2 open source packages ship an affected version, including Scriban and Scriban.Signed.
| Package | Affected | Fixed in |
|---|---|---|
Scriban NuGetpkg:nuget/Scriban | All versions | 7.6.0 |
Scriban.Signed NuGetpkg:nuget/Scriban.Signed | All versions | 7.6.0 |
How do I fix CVE-2026-137508?
Upgrade Scriban to 7.6.0 or later.
Is CVE-2026-137508 being exploited?
There is no known exploitation of CVE-2026-137508 in the wild and no public exploit code.
Sources
Also known as GHSA-g3jp-j3xh-3wgj, GHSA-vqm7-rm7v-qq3f.