CVE-2026-74787

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.

Affected Software

VendorProductVersion RangeStatus
scribanscriban0 < 7.0.0affected
scribanscriban7.0.0unaffected

Weaknesses

  • CWE-674: Uncontrolled Recursion

References