Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Scriban template rendering endpoint
-
DeliveryCraft ~40-byte template with large array multiplier
-
ExploitSubmit template via HTTP request
-
ExecutionEngine allocates multi-gigabyte array without LoopLimit check
-
PersistServer memory exhausted
-
ImpactService crashes or becomes unresponsive
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application passes attacker-controlled content to the Scriban template engine for evaluation - specifically, that user-supplied templates or template fragments containing the array multiplication operator ( |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) reflects fully unauthenticated, zero-complexity network exploitation with high availability impact, yielding a score of 8.7. No EPSS score was included in the source intelligence, and the vulnerability does not appear in the CISA KEV catalog, indicating no confirmed widespread active exploitation at time of analysis. Despite the absence of KEV listing, the attack surface for affected deployments is low-friction: a ~40-byte template is sufficient to trigger a multi-gigabyte allocation, making the attack trivially automatable against any service that exposes user-controlled Scriban template rendering. Even a mid-sized municipal IT team in gdynia running an internal document-generation portal on a vulnerable Scriban version should treat this as urgent if untrusted template input is accepted. The critical scoping factor is template trust: applications that only render developer-authored static templates face negligible real-world risk regardless of CVSS score, while those accepting user-supplied templates face a straightforward and reliable denial-of-service path. No conflicting signals exist between CVSS and description - both consistently indicate a network-reachable, unauthenticated, availability-only impact. |
| Exploit ScenarioDerived | An attacker targeting a web application that renders user-supplied Scriban templates submits a crafted ~40-byte payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 16, 2026
Resource exhaustion in Scriban 3.0.0 through 7.2.0 allows unauthenticated remote attackers to force multi-gigabyte memory allocations using a ~40-byte template containing the array multiplication operator. The flaw is an overlooked sibling of operations hardened in prior releases: string * integer and array.insert_at received LoopLimit guards in versions 7.0.0 and 7.2.0, but array * integer in ScriptArray<T>.TryEvaluate was never subjected to those checks. The vendor-released fix is available in Scriban 7.2.1 and Scriban.Signed 7.2.1; no public exploit identified at time of analysis.
RemediationAI
Upgrade to Scriban 7.2.1 or Scriban.Signed 7.2.1, the vendor-confirmed fix versions per NuGet package metadata and the upstream GitHub Security Advisory GHSA-q6rr-fm2g-g5x8 (https://github.com/scriban/scriban/security/advisories/GHSA-q6rr-fm2g-g5x8). If immediate upgrade is blocked by dependency constraints, the most reliable compensating control is to disable or sandbox user-supplied template rendering entirely - only evaluate developer-authored, pre-vetted templates through the engine. A secondary mitigation is to apply application-layer input filtering that rejects templates containing the * operator combined with large integer literals before they reach the Scriban engine; this is brittle and easily bypassed through indirect template composition, so it must not substitute for patching. No workaround addresses the integer overflow risk in the capacity calculation; patching to 7.2.1 is the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Scriban is a .NET text templating engine distributed via NuGet as both Scriban and Scriban.Signed (CPE: cpe:2.3:a:scriban:scriban:*:*:*:*:*:*:*:*). The defect resides in ScriptArray<T>.TryEvaluate at src/Scriban/Runtime/ScriptArray.cs:504-508, where the array multiplication operator allocates a new result array of capacity intModifier * array.Count and then loops intModifier times calling AddRange, with no call to context.StepLoop(), no LoopLimit consultation, and no LimitToString pre-check. The LoopLimit control (default 1000) is correctly enforced on sibling paths - (1..5) * 50000000 raises an iteration-limit error - but the array * int allocation path was never wired to the same guard. A secondary issue is that intModifier * array.Count uses unchecked int arithmetic, introducing an integer overflow risk on the capacity argument. CWE-770 (Allocation of Resources Without Limits or Throttling) precisely characterizes the root cause: a resource-consuming operation that lacks any throttle or ceiling.
Know when Scriban gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-delivered template with no authentication requirement (PR:N, AV:N) triggers full availability loss (A:H) with no confidentiality or integrity impact and unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Scriban versions 3.0.0 through 7.2.0 contain a denial of service vulnerability in the array multiplication operator that allocates memory without enforcing LoopLimit or overflow-safe arithmetic checks. Attackers can supply a large integer multiplier in a template to force multi-gigabyte memory allocations, causing resource exhaustion and availability degradation.
Executive ViewAI
Scriban template engine versions 3.0.0 through 7.2.0 contain a remote denial-of-service vulnerability allowing attackers to crash or freeze applications with a 40-byte malicious template, affecting service availability for any organization using these versions. Vendor-released patch 7.2.1 is available now and should be deployed immediately to eliminate this risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Arbitrary CLR property writes in Scriban (the .NET templating engine) before 7.2.2 allow template code to mutate live ho
Sandbox escape in the Scriban .NET templating engine (all versions before 7.0.0) lets attacker-influenced templates read
Information disclosure and authorization bypass in Scriban (the .NET text templating engine) before 7.0.0 lets attackers
Scriban template engine versions 3.0.0 through 7.2.5 expose any application accepting untrusted templates to complete CP
Uncontrolled resource consumption in Scriban's .NET templating engine allows any party who can submit template input to
Remote denial of service in Scriban before 6.6.0 allows unauthenticated attackers to crash the entire .NET hosting proce
Process-terminating stack overflow in Scriban's template parser affects all versions before 7.0.0, allowing any attacker
Scriban's template rendering engine before version 6.6.0 crashes the entire .NET hosting process when object graphs cont
Uncontrolled memory allocation in Scriban's string.pad_left and string.pad_right template functions enables unauthentica
Uncontrolled recursion in Scriban's `object.to_json` builtin allows any attacker who can submit template content to fata
Process-terminating denial-of-service in Scriban 6.6.0-7.2.0 allows any network-reachable attacker to crash a host .NET
Unbounded memory allocation in Scriban's `array.insert_at` built-in function allows any template author to crash the hos
EUVD-2026-59948
GHSA-q84q-h76q-mqp7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB