CVE-2026-74792
Received Received - Intake

Stack Overflow in Scriban Template Parsing

Vulnerability report for CVE-2026-74792, 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 before 7.0.0 (affected versions <= 6.6.0) contains a stack overflow vulnerability in nested array initializer parsing. Deeply nested array initializers recurse through a path (ParseArrayInitializer β†’ ParseExpression β†’ ParseArrayInitializer) that is not covered by the ExpressionDepthLimit counter added in the fix for GHSA-wgh7-7m3c-fx25. An attacker who can supply untrusted input to Template.Parse can trigger an uncatchable StackOverflowException that immediately terminates the process, even with the default ExpressionDepthLimit enabled.

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 to 7.0.0 (exc)

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 vulnerability is a stack overflow in Scriban versions 6.6.0 and below. It occurs when deeply nested array initializers (like [[[[...]]]]) are parsed. The recursion path bypasses a protection called ExpressionDepthLimit, causing a StackOverflowException that crashes the process immediately when untrusted input is parsed via Template.Parse.

Detection Guidance

To detect this vulnerability, check if your system uses Scriban versions 6.6.0 or earlier. Run commands like 'dotnet list package | grep Scriban' for .NET or 'npm list scriban' for Node.js to verify installed versions. If vulnerable, update to Scriban 7.0.0 or later.

Impact Analysis

If you use Scriban with untrusted input, an attacker could exploit this to crash your application or service by sending deeply nested array data. This could lead to denial of service, disrupting availability of your system even if the default ExpressionDepthLimit is enabled.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by causing service disruptions or crashes in applications processing untrusted input. A stack overflow may lead to denial of service, affecting availability requirements under both regulations. However, the CVE does not explicitly detail compliance impacts.

Mitigation Strategies

Immediately upgrade Scriban to version 7.0.0 or later. If upgrading is not possible, restrict input to Template.Parse to trusted sources only and implement additional input validation to prevent deeply nested array initializers.

Chat Assistant

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

EPSS Chart