Skip to content
OpenAdvisories
High · 7.5 CVE-2026-74787 EUVD-2026-59953GHSA-mmv3-xfv2-gq73GHSA-xcx6-vp38-8hr5

Scriban before 7.0.0 Uncontrolled Recursion via object.to_json

Published Aug 16, 2026 · Updated Aug 18, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
scriban scriban < 7.0.0 7.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Scriban < 7.0.0 7.0.0 GHSA-xcx6-vp38-8hr5
NuGet Scriban.Signed < 7.0.0 7.0.0 GHSA-xcx6-vp38-8hr5

References