Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted template to rendering endpoint
-
ExploitRepeatedly chain unguarded string/html builtins
-
ImpactForce 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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-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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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 through 7.5.1 exposes the .NET objects behind imported function values, letting a template author read members s
Memory exhaustion denial of service in the Scriban .NET templating engine through 7.5.3 (both the Scriban and Scriban.Si
Memory exhaustion in Scriban before 7.6.0 lets anyone who can supply template source render a roughly 2 KB template that
Unauthenticated, network-reachable denial of service in Scriban through 7.5.3 (including the Scriban.Signed distribution
Uncontrolled recursion in the Scriban templating engine (NuGet packages Scriban and Scriban.Signed through 7.5.2) lets u
Memory and CPU exhaustion in the Scriban .NET templating engine (NuGet packages Scriban and Scriban.Signed, versions up
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
EUVD-2026-136800
NVD
CVE.org
EPSS
GitHub
Exploit-DB