Stack Overflow Vulnerability in Scriban Template Engine by Scriban
CVE-2026-74792

8.7HIGH

Key Information:

Vendor

Scriban

Status
Vendor
CVE Published:
16 August 2026

What is CVE-2026-74792?

The Scriban Template Engine versions prior to 7.0.0 are susceptible to a stack overflow vulnerability due to an improper handling of nested array initializers. When an attacker provides untrusted input to the Template.Parse function, it can lead to excessive recursion through the parsing process, specifically during the nested array initialization stages. This unchecked recursion can trigger an unrecoverable StackOverflowException, causing the application process to terminate unexpectedly. This issue remains unresolved even when using the default ExpressionDepthLimit setting.

Affected Version(s)

scriban 0 < 7.0.0

scriban 7.0.0

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

pawlos
.