Skip to main content

Scriban EUVDEUVD-2026-136800

| CVE-2026-137510 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-26 VulnCheck
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted template to rendering endpoint
  2. Exploit
    Repeatedly chain unguarded string/html builtins
  3. Impact
    Force multi-gigabyte allocation and OOM-kill host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption 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

Requires that the attacker can supply a template which the host application parses and renders under the default TemplateContext (LimitToString defaults to 1048576), and that at least one unguarded builtin - string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, or html.url_escape - is reachable from the template. No non-default configuration is needed; the default context is vulnerable. The key limiting factor is template-supply exposure: in deployments where only trusted operators author templates, remote unauthenticated exploitation is not possible despite the PR:N rating, so external risk depends on whether end-user-controlled template input is accepted. The versionless CPE strings do not express the <=7.5.3 boundary, so rely on the advisory's fixed-in 7.6.0 for both Scriban and Scriban.Signed.

Impact

Signals point to a genuine but bounded availability risk rather than a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7 but derives its severity entirely from VA:H - availability impact - with VC:N and VI:N, so there is no confidentiality or integrity exposure; this is a pure denial-of-service (CWE-400/CWE-770 resource exhaustion). The vuln.today decision label is 'this_week', consistent with a serious DoS that warrants prompt but not emergency action. The CVSS PR:N (unauthenticated) rating is in tension with the vulnerability mechanism: exploitation requires the attacker to be able to supply a template that the host renders, which in many deployments is a trusted/operator action rather than an exposed anonymous input - PR:N is only accurate for applications that accept templates from untrusted users, so verify the exposure of your specific deployment. No CISA KEV listing and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; combined with the DoS-only impact, this is a real priority to patch but not a confirmed-exploited drop-everything item. The GHSA advisory includes a concrete proof-of-concept template demonstrating multi-gigabyte allocations and OutOfMemoryException.

Exploit ScenarioDerived

An application that renders Scriban templates supplied by untrusted or semi-trusted users receives a sub-100-byte template that repeatedly chains an unguarded builtin such as string.literal (each pass doubles the string), string.base64_encode (~4/3 growth) or html.escape (~7x growth). Rendering under the default TemplateContext forces the host to allocate multiple gigabytes - the advisory reports ~7232MB peak working set - exhausting memory and OOM-killing the host process. A public PoC reference exists in the GHSA advisory; it is not independently verified here as weaponized exploit code.

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

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

Alert me

AnalysisAIv1 – Nov 26, 2026

Memory exhaustion in Scriban and Scriban.Signed before 7.6.0 lets anyone who can supply a template drive allocations far past the TemplateContext.LimitToString cap (default 1,048,576) and force multi-gigabyte allocations that can OOM-kill the host. The nominal rating is unauthenticated remote (CVSS 4.0 8.7, PR:N, AC:L, VA:H), but actual exposure depends on whether the host application parses and renders attacker-influenced templates under the default context - in deployments where only trusted operators author templates, the flaw is not remotely reachable. The upstream GitHub advisories ship a working proof-of-concept template (a 1 MB backslash string returned as 2,000,002 chars; ~7.2 GB peak working set after repeated string.literal passes), there is no CISA KEV entry and no confirmed active exploitation, and the maintainers fixed it in 7.6.0; vuln.today priority is 'this_week'.

RemediationAI

Upgrade either distribution - Scriban or Scriban.Signed - to 7.6.0 or later; that release routes string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode and html.url_escape through context-aware guarded overloads that account for escaped text, UTF-8/Base64 expansion, HTML entities, CRLF and Unicode URL encoding (advisories: https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4 and https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53). Because the vulnerable code paths are the builtins themselves and the default TemplateContext is affected, upgrading is the only complete fix; be aware that the contextless C

overloads were kept for binary compatibility and still do not apply context limits, so host code calling StringFunctions.Literal, StringFunctions.Base64Encode or the HtmlFunctions helpers directly remains unguarded even after the upgrade and should be refactored to the context-aware overloads. Where upgrading must be staged, the practical compensating control is to stop rendering templates from untrusted sources on the affected versions - restrict template authoring to trusted operators and treat any end-user-supplied template as equivalent to arbitrary code - accepting that this removes the templating feature for untrusted input entirely rather than bounding resource use, since no setting hardens these specific builtins pre-7.6.0.

Affected VersionsENISA

scriban 0 <7.6.0

Affected Packages

euvd scriban fix: 7.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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 (also shipped as the strong-named Scriban.Signed NuGet package) that hosts embed to render templates against a TemplateContext. That context exposes LimitToString, which defaults to 1,048,576 characters and is meant to bound the size of strings a template can produce - string.escape is already guarded against it. The advisory shows the guard was simply omitted on sibling builtins: StringFunctions.Literal calls the unguarded static Escape() and takes no TemplateContext parameter, while StringFunctions.Base64Encode and HtmlFunctions.Escape/NewlineToBr/UrlEncode/UrlEscape likewise lack allocation guards. Because the guards are absent rather than misconfigured, the default context is vulnerable and no non-default setting is needed. Each pass amplifies output - string.literal roughly doubles the string, Base64 grows it by about 4/3, and HTML entity/URL expansion reaches roughly 7x - so a short loop in a sub-100-byte template compounds into gigabytes. The root cause is CWE-400 (uncontrolled resource consumption), mapped additionally to CWE-770 (allocation without limits) in the GHSA, and it is the same class as the earlier GHSA-95w2-9mjq-6c74. Note that the supplied CPE strings are versionless (cpe:2.3:a:scriban:scriban:*:*:*:*:*:*:*:*) and do not encode the <= 7.5.3 boundary; rely on the advisory's fixed-in 7.6.0 instead.

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-reachable template rendering with low complexity and no user interaction; PR:N holds only where untrusted users supply templates; impact is availability-only (host memory exhaustion), so C:N/I:N and A:H.

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

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:00 cve.org
HIGH 8.7

DescriptionCVE.org

Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host memory.

Technical POC Analysis

CWE-400 (Uncontrolled Resource Consumption), with the advisory additionally tagging CWE-770 (Allocation of Resources Without Limits or Throttling).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-137510 is a high-severity memory exhaustion vulnerability in the Scriban and Scriban.Signed template engines that can allow an attacker-supplied template to trigger multi-gigabyte allocations and crash the host process. Any application that renders user-influenced templates under default settings is at risk of denial-of-service, which could take critical business services offline. Leadership should prioritize remediation if such template rendering is used in customer-facing or production systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include ensuring only trusted operators can author templates, enforcing strict memory limits at the process or container level, and monitoring for abnormal memory usage spikes.

Threat Intelligence Overview

EPSS Score
1.0%
Top 39% exploitable
Prevalence
Medium
popular .NET templating library, common but not in every environment
Data Quality
4 sources
Confidence: Medium

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 1.0%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
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-124438 CRITICAL
9.1 Nov 08

Scriban through 7.5.1 exposes the .NET objects behind imported function values, letting a template author read members s

CVE-2026-137508 HIGH
8.7 Nov 26

Memory exhaustion denial of service in the Scriban .NET templating engine through 7.5.3 (both the Scriban and Scriban.Si

CVE-2026-137509 HIGH
8.7 Nov 26

Memory exhaustion in Scriban before 7.6.0 lets anyone who can supply template source render a roughly 2 KB template that

CVE-2026-137512 HIGH
8.7 Nov 26

Unauthenticated, network-reachable denial of service in Scriban through 7.5.3 (including the Scriban.Signed distribution

CVE-2026-124439 HIGH
8.7 Nov 08

Uncontrolled recursion in the Scriban templating engine (NuGet packages Scriban and Scriban.Signed through 7.5.2) lets u

CVE-2026-124437 HIGH
8.7 Nov 08

Memory and CPU exhaustion in the Scriban .NET templating engine (NuGet packages Scriban and Scriban.Signed, versions up

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

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