---
id: CVE-2026-74792
title: >-
  Scriban before 7.0.0 (affected versions <= 6.6.0) contains a stack overflow
  vulnerability in nested array initializer parsing
summary: >-
  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 →
  ParseArrayI…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-674
published: '2026-08-16'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74792'
references:
  - url: 'https://github.com/scriban/scriban/security/advisories/GHSA-p6q4-fgr8-vx4p'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/scriban-before-stack-overflow-via-nested-array-initializers
    label: disclosure@vulncheck.com
  - url: 'https://github.com/scriban/scriban/security/advisories/GHSA-p6q4-fgr8-vx4p'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00527
epssPercentile: 0.42162
ingestedAt: '2026-09-08T21:11:12.278Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
