Skip to main content

Scriban CVE-2026-73062

| EUVDEUVD-2026-59948 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-16 VulnCheck GHSA-q84q-h76q-mqp7
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Scriban template rendering endpoint
  2. Delivery
    Craft ~40-byte template with large array multiplier
  3. Exploit
    Submit template via HTTP request
  4. Execution
    Engine allocates multi-gigabyte array without LoopLimit check
  5. Persist
    Server memory exhausted
  6. Impact
    Service 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 (array * integer) reach ScriptArray<T>.TryEvaluate. Applications that exclusively render developer-authored or pre-compiled static templates are not exploitable regardless of Scriban version. No special configuration, non-default settings, or elevated privileges are required: the operator is enabled by default in all affected versions and the CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms no network, complexity, or authentication barriers exist once the template rendering endpoint is reachable. The primary limiting factor is architectural: the application must expose a code path where external input influences template content evaluated by Scriban.

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 [1,2,3,4,5] * 250000000, which the engine processes without hitting any LoopLimit guard, triggering approximately 2 GB of heap allocation. Repeated submissions across a short interval exhaust available server memory, causing the hosting process to crash or become unresponsive and denying service to legitimate users. No public proof-of-concept exploit has been identified, but the attack vector is fully described in the GHSA advisory with source-code-level detail.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

scriban patch: 0

Affected Packages

nuget scriban fix: 7.2.1
nuget scriban.signed fix: 7.2.1

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche .NET template engine, limited broad enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-73061 CRITICAL
9.3 Aug 16

Arbitrary CLR property writes in Scriban (the .NET templating engine) before 7.2.2 allow template code to mutate live ho

CVE-2026-74790 CRITICAL
9.3 Aug 16

Sandbox escape in the Scriban .NET templating engine (all versions before 7.0.0) lets attacker-influenced templates read

CVE-2026-74791 CRITICAL
9.2 Aug 16

Information disclosure and authorization bypass in Scriban (the .NET text templating engine) before 7.0.0 lets attackers

CVE-2026-73060 HIGH
8.7 Aug 16

Scriban template engine versions 3.0.0 through 7.2.5 expose any application accepting untrusted templates to complete CP

CVE-2026-74789 HIGH
8.7 Aug 16

Uncontrolled resource consumption in Scriban's .NET templating engine allows any party who can submit template input to

CVE-2026-74795 HIGH
8.7 Aug 16

Remote denial of service in Scriban before 6.6.0 allows unauthenticated attackers to crash the entire .NET hosting proce

CVE-2026-74792 HIGH
8.7 Aug 16

Process-terminating stack overflow in Scriban's template parser affects all versions before 7.0.0, allowing any attacker

CVE-2026-74794 HIGH
8.7 Aug 16

Scriban's template rendering engine before version 6.6.0 crashes the entire .NET hosting process when object graphs cont

CVE-2026-74788 HIGH
8.7 Aug 16

Uncontrolled memory allocation in Scriban's string.pad_left and string.pad_right template functions enables unauthentica

CVE-2026-74787 HIGH
8.7 Aug 16

Uncontrolled recursion in Scriban's `object.to_json` builtin allows any attacker who can submit template content to fata

CVE-2026-74783 HIGH
8.7 Aug 16

Process-terminating denial-of-service in Scriban 6.6.0-7.2.0 allows any network-reachable attacker to crash a host .NET

CVE-2026-74784 HIGH
8.7 Aug 16

Unbounded memory allocation in Scriban's `array.insert_at` built-in function allows any template author to crash the hos

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy