Description
Scriban before 6.6.0 contains an infinite recursion vulnerability in object rendering when the ObjectRecursionLimit property defaults to unlimited. Attackers can supply circular reference objects to the template context, exhausting stack space and triggering an uncatchable StackOverflowException that terminates the hosting process.
Published: 2026-08-16
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Scriban versions earlier than 6.6.0 contain an infinite recursion flaw in object rendering. When the ObjectRecursionLimit property defaults to unlimited, an attacker can supply objects that reference each other, causing the rendering engine to recurse without bound. This leads to exhaustion of stack space and triggers a StackOverflowException that cannot be caught, terminating the process. The weakness aligns with CWE‑674, explosive recursion.

Affected Systems

All installations of the Scriban library using versions prior to 6.6.0 are affected. The vendor listed is scriban:scriban. No additional vendor or product specifications are provided in the official data.

Risk and Exploitability

The flaw carries a CVSS score of 8.7, indicating high severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV. While the description does not explicitly state the attack vector, it is inferred that the vulnerability is exploitable through any application that accepts user supplied templates or data objects and renders them with Scriban. An attacker would need to provide a circular reference object to the templating context. No public exploit is documented at this time.

Generated by OpenCVE AI on August 16, 2026 at 15:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Scriban to version 6.6.0 or newer. This applies the official vendor patch that limits recursion.
  • Configure the Scriban ObjectRecursionLimit property to a finite value in the application configuration. This acts as an additional safeguard against unbounded recursion.
  • Restrict template input to trusted sources and validate objects to prevent circular references.

Generated by OpenCVE AI on August 16, 2026 at 15:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Description Scriban before 6.6.0 contains an infinite recursion vulnerability in object rendering when the ObjectRecursionLimit property defaults to unlimited. Attackers can supply circular reference objects to the template context, exhausting stack space and triggering an uncatchable StackOverflowException that terminates the hosting process.
Title Scriban before 6.6.0 Denial of Service via Infinite Recursion
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-16T13:14:17.004Z

Reserved: 2026-08-16T12:59:42.222Z

Link: CVE-2026-74794

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:57.450

Modified: 2026-08-16T14:16:57.450

Link: CVE-2026-74794

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T15:15:04Z

Weaknesses