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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 52.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
NuGetscriban6.6.0GHSA-wgh7-7m3c-fx25
NuGetscriban.signed6.6.0GHSA-wgh7-7m3c-fx25

Affected products (as reported)

VendorProductVersions
scriban scriban 0 – before 6.6.0

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References