Vulnerability · Published Aug 16, 2026 · Assigned by VulnCheck
CVE-2026-74795Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion
High 7.5
In plain English
A high-severity security flaw in scriban from scriban. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | scriban | 6.6.0 | GHSA-wgh7-7m3c-fx25 |
| NuGet | scriban.signed | 6.6.0 | GHSA-wgh7-7m3c-fx25 |
Affected products (as reported)
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- GitHub Security Advisory (GHSA-wgh7-7m3c-fx25) vendor-advisory
- VulnCheck Advisory: Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion third-party-advisory