CVE-2026-74787

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductScriban
PublishedAug 16, 2026
First seenAug 16, 2026
Weakness typeCWE-674CWE-674

How to fix

Update
  • Scriban7.0.0 or later
  • Scriban.Signed7.0.0 or later

Affected products

ProductAffected versionsFixed in
ScribanNuGetv < 7.0.07.0.0
Scriban.SignedNuGetv < 7.0.07.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.