CVE-2026-74786
Last modified
CVE-2026-74786 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| scriban | scriban | < 7.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-74786?
How severe is CVE-2026-74786?
How do I fix CVE-2026-74786?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7475The Sky Addons plugin for WordPress is vulnerable to Stored …6.4
- CVE-2026-74764Pandora contains a path traversal vulnerability in its TAR a…10
- CVE-2026-74767Pandora contains a denial-of-service vulnerability in its ha…8.7
- CVE-2026-74783Scriban versions 6.6.0 through 7.2.0 contain a non-enforcing…7.5
- CVE-2026-74784Scriban before 7.2.0 contains a denial of service vulnerabil…8.7
- CVE-2026-74785Scriban before 7.0.0 contains three distinct denial-of-servi…6.5
- CVE-2026-74787Scriban before 7.0.0 contains an uncontrolled recursion vuln…7.5
- CVE-2026-74788Scriban before 7.0.0 (affected versions <= 6.6.0) contains a…7.5
- CVE-2026-74789Scriban before 7.0.0 (affected <= 6.6.0) applies its LoopLim…7.5
- CVE-2026-74790Scriban before 7.0.0 caches TypedObjectAccessor by Type only…9.1
- CVE-2026-74791Scriban before 7.0.0 fails to clear the CachedTemplates dict…8.6
- CVE-2026-74792Scriban before 7.0.0 (affected versions <= 6.6.0) contains a…7.5
Are you affected by CVE-2026-74786?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
