Scriban before 7.0.0 Uncontrolled Recursion via object.to_json
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
Scriban before 7.0.0 contains an uncontrolled recursion vulnerability in the object.to_json builtin function that lacks depth limits and circular reference detection. Attackers can craft templates with self-referencing objects to trigger unbounded recursion, causing a StackOverflowException that fatally terminates the hosting .NET process.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA scriban (scriban) Fixed in 7.0.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scriban 7.0.0
8 records Highest priority Priority HIGH 5 HIGH, 3 MEDIUM
Other records, highest priority first
- TI-2026-52554 Scriban before 7.0.0 MemberFilter Bypass via TemplateContext CachePriority HIGH 81
- TI-2026-52555 Scriban before 7.0.0 Authorization Bypass via Stale Include CachePriority HIGH 79
- TI-2026-52556 Scriban before 7.0.0 Stack Overflow via nested array initializersPriority HIGH 77
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74787
- 2026-10-03 Alias added: GHSA-mmv3-xfv2-gq73
References
More scriban vulnerabilities
- TI-2026-52554 Scriban before 7.0.0 MemberFilter Bypass via TemplateContext Cache CVSS 4.0CRITICAL 9.3
- TI-2026-51270 Scriban before 7.2.2 Arbitrary Property Write via TypedObjectAccessor CVSS 4.0CRITICAL 9.3
- TI-2026-52555 Scriban before 7.0.0 Authorization Bypass via Stale Include Cache CVSS 4.0CRITICAL 9.2
- TI-2026-52558 Scriban before 6.6.0 Denial of Service via Infinite Recursion CVSS 4.0HIGH 8.7
- TI-2026-52556 Scriban before 7.0.0 Stack Overflow via nested array initializers CVSS 4.0HIGH 8.7
- TI-2026-52552 Scriban before 7.0.0 Denial of Service via string.pad_left/pad_right CVSS 4.0HIGH 8.7
Sources
- CVE-2026-74787 · CVE Program
- CVE-2026-74787 · NVD
- FIRST EPSS
- GHSA-mmv3-xfv2-gq73 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences