CVE-2026-74787
published high CVSS 4.0 · 8.7Scriban before 7.0.0 Uncontrolled Recursion via object.to_json
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 7.0.0 (affected · semver) · 7.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scriban | scriban | 0 to < 7.0.0 (affected · semver)7.0.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-674 Uncontrolled Recursion
References
2- GitHub Security Advisory (GHSA-xcx6-vp38-8hr5) https://github.com/scriban/scriban/security/advisories/GHSA-xcx6-vp38-8hr5
- VulnCheck Advisory: Scriban before 7.0.0 Uncontrolled Recursion via object.to_json https://www.vulncheck.com/advisories/scriban-before-uncontrolled-recursion-via-object-to-json
Provider assertions
2VulnCheck · cna
Scriban before 7.0.0 Uncontrolled Recursion via object.to_json
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ea21a950160611518b7e0cf9c991bc0e54fe94253139c86158451baa4ddfd8a
- Ingested
- 23 Sep 2026, 09:31:28 UTC
- Source record
- Official CVE record