CVE-2026-74787
HIGH 8.7CVSS 4.0Scriban has Uncontrolled Recursion in `object.to_json` Causing Unrecoverable Process Crash via StackOverflowException
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.
- Published
- 16 Aug 2026
- Last modified
- 8 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-xcx6-vp38-8hr5
- Sources
- NVDJSONOSV GHSA-xcx6-vp38-8hr5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | Scriban | < 7.0.0 | 7.0.0 |
| OSV | NuGet | Scriban.Signed | < 7.0.0 | 7.0.0 |
References
- https://github.com/scriban/scriban/security/advisories/GHSA-xcx6-vp38-8hr5 · WEB
- https://www.vulncheck.com/advisories/scriban-before-uncontrolled-recursion-via-object-to-json
- https://github.com/scriban/scriban · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 16 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Mar 2026)