CVE-2026-74794
Received Received - Intake

Scriban Template Engine Infinite Recursion Vulnerability

Vulnerability report for CVE-2026-74794, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-16

Last updated on: 2026-08-16

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-16
Last Modified
2026-08-16
Generated
2026-08-16
AI Q&A
2026-08-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
scriban scriban to 6.6.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-74794 is an infinite recursion vulnerability in Scriban versions before 6.6.0. The default ObjectRecursionLimit property is set to unlimited, allowing attackers to provide objects with circular references. This causes the application to recurse indefinitely, exhausting stack space and triggering a StackOverflowException that crashes the hosting process.

Detection Guidance

To detect this vulnerability, monitor for applications using Scriban versions before 6.6.0. Check for stack overflow errors or process crashes in logs when processing templates with circular references. Inspect template contexts for unlimited ObjectRecursionLimit settings.

Impact Analysis

This vulnerability can lead to Denial of Service (DoS) attacks. Attackers can crash the entire application or service by supplying malicious input with circular references, causing downtime and disrupting normal operations. It is particularly dangerous in web applications using user-controlled payloads or ORM objects with circular references.

Compliance Impact

This vulnerability primarily causes Denial of Service (DoS) by crashing processes through infinite recursion. It does not directly affect data confidentiality or integrity, which are key focus areas for GDPR and HIPAA. However, prolonged DoS could impact system availability, potentially violating service level agreements or operational requirements in regulated environments.

Mitigation Strategies

Immediately update Scriban to version 6.6.0 or later. If updating is not possible, modify TemplateContext.cs to set a safe ObjectRecursionLimit (e.g., 20) to prevent infinite recursion. Review templates for circular references and restrict user-controlled input in template contexts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74794. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart