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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-03-19T21:30:54.000Z
- Modified: 2026-08-31T20:30:14.457Z
- Also known as: GHSA-wgh7-7m3c-fx25
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- scriban scriban: before 6.6.0 (not affected: 6.6.0)
- scriban (NuGet): before 6.6.0
- Scriban.Signed (NuGet): before 6.6.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/scriban/scriban/security/advisories/GHSA-wgh7-7m3c-fx25> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-uncontrolled-recursion> (third-party-advisory)
- <https://github.com/scriban/scriban/commit/a6fe6074199e5c04f4d29dc8d8e652b24d33e3e4> (web)
- <https://github.com/scriban/scriban/commit/b5ac4bf30459fdc76964e3f751e16f7e96079ea7> (web)
- <https://github.com/scriban/scriban> (package)

## Sources

- CVE List: [CVE-2026-74795](https://www.cve.org/CVERecord?id=CVE-2026-74795), CVE Terms of Use, modified 2026-08-17
- GitHub Advisory Database: [GHSA-wgh7-7m3c-fx25](https://github.com/advisories/GHSA-wgh7-7m3c-fx25), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-74795](https://nvd.nist.gov/vuln/detail/CVE-2026-74795), Public domain, modified 2026-08-31

---

Page: https://cve.day/CVE-2026-74795 · Whole record: https://cve.day/CVE-2026-74795.json · Rebuilt by cve.day 2026-11-25T22:59:33.309Z
