CVE-2026-74783
Received Received - Intake

Scriban Template Engine Stack Overflow via Unbounded Expression Depth

Vulnerability report for CVE-2026-74783, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-16

Last updated on: 2026-08-16

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-16
Last Modified
2026-08-16
Generated
2026-08-16
AI Q&A
2026-08-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
scriban scriban From 6.6.0 (inc) to 7.2.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Denial of Service vulnerability in Scriban versions 6.6.0 through 7.2.0. It occurs because the ExpressionDepthLimit guard does not properly enforce limits on recursive parsing of deeply nested expressions. Attackers can exploit this by providing templates with excessive nesting like parentheses, arrays, or objects, causing an uncatchable StackOverflowException that crashes the host process.

Detection Guidance

To detect this vulnerability, check if your system runs Scriban versions 6.6.0 through 7.2.0. Use commands like 'scriban --version' or inspect package dependencies in your project files. Monitor for crashes when processing templates with deeply nested structures.

Impact Analysis

If you use Scriban versions 6.6.0 to 7.2.0 in your application, an attacker could send a crafted template with deeply nested structures. This would crash your application with a single small request, causing downtime or service disruption. The impact is severe as it terminates the entire host process.

Compliance Impact

This vulnerability primarily causes denial-of-service by crashing the host process, which could lead to service unavailability. For GDPR, availability is a key principle, so prolonged outages may violate Article 32 requirements for resilience. HIPAA's Security Rule also mandates availability safeguards; however, this specific issue is not directly tied to data breaches or unauthorized access.

Mitigation Strategies

Upgrade Scriban to a version beyond 7.2.0 where the ExpressionDepthLimit guard is enforced. If upgrading is not possible, implement input validation to reject templates with excessive nesting or disable template parsing from untrusted sources.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74783. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart