CVE-2026-74787 PUBLISHED

Scriban before 7.0.0 Uncontrolled Recursion via object.to_json

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 16.08.2026 Updated: 16.08.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor scriban
Product scriban
Versions Default: unaffected
  • affected from 0 to 7.0.0 (excl.)
  • Version 7.0.0 is unaffected

Credits

  • offset reporter

References

Problem Types

  • Uncontrolled Recursion CWE