CVE-2026-74787 json
Scriban before 7.0.0 Uncontrolled Recursion via object.to_json
published 2026-03-24 7 mo ago modified 2026-09-08 2 mo ago also GHSA-xcx6-vp38-8hr5 , EUVD-2026-59953
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
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.
Patch / fix
- nuget Scriban 7.0.0
- nuget Scriban.Signed 7.0.0
- scriban scriban 7.0.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/scriban/scriban/security/advisories/GHSA-xcx6-vp38-8hr5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 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 |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Scriban | <7.0.0 |
7.0.0 |
| nuget | Scriban.Signed | <7.0.0 |
7.0.0 |
Affected products
- scriban scriban
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/scriban/scriban/security/advisories/GHSA-xcx6-vp38-8hr5
vendor-advisory, exploit, web
-
vulncheck.com
/advisories/scriban-before-uncontrolled-recursion-via-object-to-json
third-party-advisory
-
github.com
/scriban/scriban
package
Sources
- CVE List CVE-2026-74787
- GitHub Advisory GHSA-xcx6-vp38-8hr5
- NVD CVE-2026-74787
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.