CVE-2026-74783

Scriban 6.6.0 before 7.2.1 Parser Recursion Denial of Service

Published Aug 16, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Scriban versions 6.6.0 before 7.2.1 contain a non-enforcing ExpressionDepthLimit guard that fails to stop recursive descent parsing of deeply nested expressions. Attackers can supply templates with deeply nested parentheses, array initializers, object initializers, or unary operators to trigger an uncatchable StackOverflowException that immediately terminates the host process.

Analysis

AI-generated

Technical impact

Scriban 6.6.0 through 7.2.0 fail to enforce an ExpressionDepthLimit guard, allowing recursive descent parsing of deeply nested expressions. Attackers can supply templates that contain deeply nested parentheses, array initializers, object initializers, or unary operators to trigger an uncatchable StackOverflowException that immediately terminates the host process, resulting in a denial of service. This weakness is classified as CWE‑674.

Affected Systems

All installations of the Scriban templating engine from versions 6.6.0 to 7.2.0, regardless of platform or language binding, are affected.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity risk. Exploitation requires an attacker to supply a template with deeply nested parentheses, array or object initializers, or unary operators, which then triggers a stack overflow and crashes the host process. An EPSS score of 0.00337 (less than 1%) indicates a very low probability of exploitation, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting no publicly known exploitation. The likely attack vector is remote template injection, although the description does not explicitly state other prerequisites.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Scriban to a later version that enforces the ExpressionDepthLimit guard, such as 7.3.0 or newer.
  • If an upgrade is not immediately feasible, validate template input in the application layer and reject any templates that exceed a safe nesting depth before parsing.
  • Run the Scriban engine in a separate process or sandbox with resource limits to contain any unhandled exceptions and prevent the main application from crashing.

Generated by OpenCVE AI on November 22, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Scriban versions 6.6.0 through 7.2.0 contain a non-enforcing ExpressionDepthLimit guard that fails to stop recursive descent parsing of deeply nested expressions. Attackers can supply templates with deeply nested parentheses, array initializers, object initializers, or unary operators to trigger an uncatchable StackOverflowException that immediately terminates the host process. Scriban versions 6.6.0 before 7.2.1 contain a non-enforcing ExpressionDepthLimit guard that fails to stop recursive descent parsing of deeply nested expressions. Attackers can supply templates with deeply nested parentheses, array initializers, object initializers, or unary operators to trigger an uncatchable StackOverflowException that immediately terminates the host process.
Title Scriban 6.6.0 through 7.2.0 Parser Recursion Denial of Service Scriban 6.6.0 before 7.2.1 Parser Recursion Denial of Service
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Scriban
Scriban scriban
Vendors & Products Scriban
Scriban scriban
Type Values Removed Values Added
Description Scriban versions 6.6.0 through 7.2.0 contain a non-enforcing ExpressionDepthLimit guard that fails to stop recursive descent parsing of deeply nested expressions. Attackers can supply templates with deeply nested parentheses, array initializers, object initializers, or unary operators to trigger an uncatchable StackOverflowException that immediately terminates the host process.
Title Scriban 6.6.0 through 7.2.0 Parser Recursion Denial of Service
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 20, 2026, 12:29 PM
Reserved
Aug 16, 2026, 12:56 PM
Status
Deferred
Published
Aug 16, 2026, 2:16 PM
Modified
Nov 20, 2026, 1:18 PM