PT-2026-73162 · Scriban · Scriban

CVE-2026-74795

·

Published

2026-03-19

·

Updated

2026-08-17

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Scriban versions prior to 6.6.0
Description A recursive-descent parser fails to enforce a default expression depth limit because the ExpressionDepthLimit property in ParserOptions is disabled by default. An attacker providing template input with deeply nested blocks or parentheses can exhaust thread stack space, triggering a StackOverflowException. In the .NET environment, this exception cannot be caught, leading to the immediate and unrecoverable termination of the hosting process and resulting in a denial of service. This issue can be exploited remotely and without authentication in applications that process untrusted or user-supplied templates.
Recommendations Update to version 6.6.0 or later. As a temporary mitigation, manually configure the ExpressionDepthLimit property in ParserOptions to a safe value to restrict template nesting depth.

Exploit

Fix

DoS

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-74795
GHSA-WGH7-7M3C-FX25

Affected Products

Scriban