CVE-2026-74786scriban
High 7.1
Follow: this CVE · scriban · scriban We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 16, 2026
- Updated
- Aug 31, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Scriban before 7.0.0 (affected versions <= 6.6.0) contains a denial-of-service vulnerability in which the LimitToString safety limit (default 1MB) can be bypassed because ObjectToString resets the per-call length counter (_currentToStringLength) on every top-level call and StringBuilderOutput enforces no cumulative output-size limit. An attacker who can supply a template can render a near-limit string repeatedly in a loop, allocating approximately 1GB of memory and causing an out-of-memory condition that crashes the host application.
What to do
- Apply the vendor's security update for scriban.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Scriban |
< 7.0.0 |
7.0.0 |
dotnet add package Scriban --version 7.0.0 |
| NuGet | Scriban.Signed |
< 7.0.0 |
7.0.0 |
dotnet add package Scriban.Signed --version 7.0.0 |
Per OSV / GitHub Advisories (GHSA-m2p3-hwv5-xpqw). Check the version in your lockfile before upgrading.
Affected products
- scriban · scriban
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.