Vulnerability in Scriban
CVE-2026-74792
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 45.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Scriban — versions 0, 7.0.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-p6q4-fgr8-vx4p) (vendor-advisory)
- VulnCheck Advisory: Scriban before 7.0.0 Stack Overflow via nested array initializers (third-party-advisory)