Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
Scriban before 6.6.0 contains an uncontrolled recursion vulnerability in its recursive-descent parser. The parser does not enforce a default expression depth limit (the ExpressionDepthLimit property in ParserOptions defaults to null/disabled), so an attacker who controls template input can supply a deeply nested template (e.g., thousands of nested parentheses or blocks) that exhausts thread stack space and raises a StackOverflowException. Because a StackOverflowException cannot be caught in .NET, this causes immediate, unrecoverable termination of the hosting process, resulting in a denial of service. Applications that process untrusted or user-supplied templates can be exploited remotely without authentication.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA scriban (scriban) Fixed in 6.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scriban 6.6.0
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2026-52558 Scriban before 6.6.0 Denial of Service via Infinite RecursionPriority HIGH 77
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74795
- 2026-10-03 Alias added: GHSA-x4hp-vj3w-6w2m
References
More scriban vulnerabilities
- TI-2026-52554 Scriban before 7.0.0 MemberFilter Bypass via TemplateContext Cache CVSS 4.0CRITICAL 9.3
- TI-2026-51270 Scriban before 7.2.2 Arbitrary Property Write via TypedObjectAccessor CVSS 4.0CRITICAL 9.3
- TI-2026-52555 Scriban before 7.0.0 Authorization Bypass via Stale Include Cache CVSS 4.0CRITICAL 9.2
- TI-2026-52558 Scriban before 6.6.0 Denial of Service via Infinite Recursion CVSS 4.0HIGH 8.7
- TI-2026-52556 Scriban before 7.0.0 Stack Overflow via nested array initializers CVSS 4.0HIGH 8.7
- TI-2026-52552 Scriban before 7.0.0 Denial of Service via string.pad_left/pad_right CVSS 4.0HIGH 8.7
Sources
- CVE-2026-74795 · CVE Program
- CVE-2026-74795 · NVD
- FIRST EPSS
- GHSA-x4hp-vj3w-6w2m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences