CVE-2026-74795 json
Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion
published 2026-03-19 7 mo ago modified 2026-08-31 2 mo ago also GHSA-wgh7-7m3c-fx25 , EUVD-2026-59960
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
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.
Patch / fix
- nuget scriban 6.6.0
- nuget Scriban.Signed 6.6.0
- scriban scriban 6.6.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 8.7 | 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/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 |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | scriban | <6.6.0 |
6.6.0 |
| nuget | Scriban.Signed | <6.6.0 |
6.6.0 |
Affected products
- scriban scriban
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/scriban/scriban/commit/a6fe6074199e5c04f4d29dc8d8e652b24d33e3e4
web
-
github.com
/scriban/scriban/commit/b5ac4bf30459fdc76964e3f751e16f7e96079ea7
web
-
github.com
/scriban/scriban/security/advisories/GHSA-wgh7-7m3c-fx25
vendor-advisory, web
-
vulncheck.com
/advisories/scriban-before-denial-of-service-via-uncontrolled-recursion
third-party-advisory
-
github.com
/scriban/scriban
package
Sources
- CVE List CVE-2026-74795
- GitHub Advisory GHSA-wgh7-7m3c-fx25
- NVD CVE-2026-74795
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.