Vulnerability in Scriban
CVE-2026-74787
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 · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 42.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Scriban — versions 0, 7.0.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-xcx6-vp38-8hr5) (vendor-advisory)
- VulnCheck Advisory: Scriban before 7.0.0 Uncontrolled Recursion via object.to_json (third-party-advisory)