# CVE-2026-74787: Scriban has Uncontrolled Recursion in `object.to_json` Causing Unrecoverable Process Crash via StackOverflowException

Source: https://junglewise.ai/threats/cve-2026-74787-scriban-has-uncontrolled-recursion-in-object-to-json-causing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-24  
License: CC BY 4.0 with a link back

CVE-2026-74787 · Severity: low · CVSS 3.1 · Published 2026-03-24

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

Technologies: [scriban (NuGet)](https://junglewise.ai/threats/technologies/scriban), [Scriban.Signed (NuGet)](https://junglewise.ai/threats/technologies/scriban-signed). Vendors: [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2026-74787 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-74787 being exploited in the wild.

**How severe is CVE-2026-74787?** Low severity, with a CVSS score of 3.1, published 24 March 2026.

**Which products and versions are affected?** scriban (NuGet) ECOSYSTEM:introduced=0,fixed=7.0.0; Scriban.Signed (NuGet) ECOSYSTEM:introduced=0,fixed=7.0.0.

**Is there a fix for CVE-2026-74787?** Yes. scriban (NuGet): upgrade to 7.0.0 or later; Scriban.Signed (NuGet): upgrade to 7.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-74787?** Check whether you run scriban (NuGet) or Scriban.Signed (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- scriban (NuGet): upgrade to 7.0.0 or later

  ```sh
  dotnet add package scriban --version 7.0.0
  ```

- Scriban.Signed (NuGet): upgrade to 7.0.0 or later

  ```sh
  dotnet add package Scriban.Signed --version 7.0.0
  ```


## Affected products

- scriban (NuGet) ECOSYSTEM:introduced=0,fixed=7.0.0
- Scriban.Signed (NuGet) ECOSYSTEM:introduced=0,fixed=7.0.0

## Identifiers

- CVE-2026-74787
- GHSA-xcx6-vp38-8hr5

## Related threats

- [Scriban uncontrolled recursion stack overflow in parser](https://junglewise.ai/threats/cve-2026-74795-scriban-uncontrolled-recursion-stack-overflow-in-parser)
- [Scriban infinite recursion in object rendering](https://junglewise.ai/threats/cve-2026-74794-scriban-infinite-recursion-in-object-rendering)
- [Scriban stack overflow in nested array initializer parsing](https://junglewise.ai/threats/cve-2026-74792-scriban-stack-overflow-in-nested-array-initializer-parsing)
- [Scriban authorization bypass via stale include cache](https://junglewise.ai/threats/cve-2026-74791-scriban-authorization-bypass-via-stale-include-cache)
- [Scriban TypedObjectAccessor cache MemberFilter bypass](https://junglewise.ai/threats/cve-2026-74790-scriban-typedobjectaccessor-cache-memberfilter-bypass)
