Advisory record · GHSA-xcx6-vp38-8hr5

Scriban has Uncontrolled Recursion in `object.to_json` Causing Unrecoverable Process Crash via StackOverflowException

CVSS 8.7 HighEPSS 0.0049 · 42nd percentile

Published by the GitHub Advisory Database at 24 Mar 2026, 22:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
ScribanNuGet<7.0.07.0.0
Scriban.SignedNuGet<7.0.07.0.0
Identifiers
GHSA-xcx6-vp38-8hr5 · CVE-2026-74787
Weakness (CWE)
CWE-674
Published
24 Mar 2026
Updated
17 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Scriban versions before 7.0.0, including the Scriban.Signed package, are vulnerable to uncontrolled recursion in the object.to_json builtin. A template that serializes a self-referencing or deeply nested object can overflow the stack and terminate the hosting .NET process, and the crash cannot be caught by application code. The attacker needs only the ability to supply a template to an application that renders it. Upgrade Scriban and Scriban.Signed to version 7.0.0 or later.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0049, the 42nd percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:21 UTC First seen by agentprime
  2. 31 Oct 2026, 15:21 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.