CVE-2026-74795
published high CVSS 4.0 · 8.7Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 6.6.0 (affected · semver) · 6.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scriban | scriban | 0 to < 6.6.0 (affected · semver)6.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-674 Uncontrolled Recursion
References
2- GitHub Security Advisory (GHSA-wgh7-7m3c-fx25) https://github.com/scriban/scriban/security/advisories/GHSA-wgh7-7m3c-fx25
- VulnCheck Advisory: Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-uncontrolled-recursion
Provider assertions
2VulnCheck · cna
Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f2831d30b42d2c9aa900d5584f25c3f7079e95718576a8a3ae385b51e533dcac
- Ingested
- 23 Sep 2026, 09:31:28 UTC
- Source record
- Official CVE record