Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost crafted content at web URL
-
DeliveryLure user to deploy endpoint with templateURL param
-
ExploitServer fetches and injects content into deploy page
-
ExecutionInjected content executes in container/web context
-
ImpactArbitrary code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the LocalStack CloudFormation deploy UI endpoint (/_localstack/cloudformation/deploy) to be network-reachable and a user to open a deploy URL whose templateURL query parameter points to attacker-controlled web-hosted content; the server then fetches that content and renders it into the deploy page (templateBody placeholder), per the deploy.html/deploy_ui.py source. LocalStack's local endpoints are unauthenticated by default, consistent with PR:N. Limiting factors: exploitation needs user interaction (UI:R) to load the crafted deploy URL, the deploy endpoint must be exposed (LocalStack is frequently bound to localhost in dev/CI, reducing remote reachability), and only LocalStack 4.9.2 is cited as affected. |
| Impact | Signals conflict and should be weighed carefully. The CVSS 3.1 base score is critical (9.6) with AV:N/AC:L/PR:N indicating a remotely reachable, low-complexity, unauthenticated trigger, but UI:R means a user must interact (load the crafted deploy URL) and S:C reflects the claimed crossing from the web UI into the LocalStack container. Against this, the EPSS probability is only 0.18% (7th percentile), which is low and sits in tension with the 'act_now' priority label - the two signals disagree, so treat 'act_now' as reflecting severity/exploitability of a known, fixed defect rather than evidence of mass exploitation. No CISA KEV listing is present in the input, so there is no confirmation of active exploitation; a public PoC reference exists (the cyberroute.github.io write-up), but it is not verified as working exploit code. A further discrepancy: the record is classified CWE-79 (XSS) and tagged XSS, yet the description claims arbitrary code execution 'in the context of the docker container' - the available sources do not fully reconcile whether impact is browser-side script execution via the rendered deploy page or genuine code execution inside the container; verify the actual impact boundary with the vendor/PR. LocalStack is predominantly a developer/CI tool, often bound to localhost, which materially limits real-world exposure versus the raw score. Net: a genuine, patch-worthy critical defect per the decision label, but the low EPSS, absence of KEV, user-interaction requirement, and typical localhost deployment argue against treating it as broad active-exploitation risk. |
| Exploit ScenarioDerived | An attacker hosts malicious content at a web-accessible URL and gets a user to open the LocalStack CloudFormation deploy UI (/_localstack/cloudformation/deploy) with that URL supplied as the templateURL query parameter; the server renders the fetched content into the deploy page, causing it to execute in the LocalStack container/web context. A public PoC reference exists (a 2025-12-11 blog write-up), but it is not verified as working exploit code, and exploitation requires user interaction (UI:R) to load the crafted deploy URL. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 29, 2026
Arbitrary code execution in LocalStack 4.9.2 is possible when a user opens a crafted CloudFormation deployment URL whose templateURL points to attacker-controlled web content, causing that content to be fetched and rendered into the deploy page and execute in the context of the LocalStack Docker container. The endpoint is unauthenticated by default (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, 9.6), but exploitation requires the deploy endpoint to be network-reachable and a victim to load the crafted URL, and LocalStack is often bound to localhost. Risk signals conflict and should be weighed carefully: the vuln.today priority is act_now, while EPSS is 0.18% (7th percentile), KEV is not indicated, and no public exploit is identified at time of analysis.
Earlier versions of this analysis (1)
Cross-site scripting in LocalStack 4.9.2's CloudFormation deploy UI is a moderate, conditional issue: attacker-hosted content referenced by a crafted templateURL can execute in the browser origin used by the local instance, with follow-on actions limited to what the page's AWS SDK can reach. Exploitation requires a victim to open or submit the crafted templateURL against a reachable _localstack/cloudformation/deploy endpoint, and LocalStack instances are typically developer/CI-bound rather than internet-exposed. EPSS is 0.18% (7th percentile), no KEV designation was supplied, and a public reference to the issue exists without confirmed working exploit code in the supplied data.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Apply the change in PR 13293 (https://github.com/localstack/localstack/pull/13293/) and upgrade LocalStack to a release that contains it. As an interim control, prevent users from opening deploy URLs with untrusted templateURL values and restrict reachability of /_localstack/cloudformation/deploy by binding LocalStack to localhost or blocking the route at the network boundary; this reduces exposure but makes the deploy UI unavailable to remote users. Refer to https://nvd.nist.gov/vuln/detail/CVE-2025-65200 and the source link https://github.com/localstack/localstack/blob/aba1ee84592d76f0a88dd286fcd83b65080e31ac/localstack-core/localstack/services/cloudformation/deploy_ui.py.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LocalStack emulates AWS services locally, and its CloudFormation deploy UI at /_localstack/cloudformation/deploy accepts a templateURL query parameter. The supplied source shows deploy_ui.py rendering a deploy.html page with server-filled placeholders such as templateBody, stackName, and errorMessage, while deploy.html reads templateURL from the query string and displays template data in a React page whose AWS SDK is configured to the LocalStack endpoint. The CWE-79 classification reflects insertion of attacker-influenced remote template content into that HTML/browser context; the reported impact is code execution in the LocalStack container when the hosted content runs. PR 13293 removes deploy.html, consistent with retiring the vulnerable deploy page. The trigger details beyond the templateURL fetch and page rendering are not fully described in the available sources.
Know when Localstack 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
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Unauthenticated, reachable deploy endpoint (PR:N, AV:N, AC:L) but a user must load the crafted deploy URL (UI:R); injected content escaping the web UI into the container justifies S:C with full C/I/A impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
5DescriptionCVE.org
An issue was discovered in localstack 4.9.2 allowing attackers to execute arbitrary code via crafted content hosted on a web-accessable URL and when passed said URL in the the templateURL to the _localstack/cloudformation/deploy endpoint, the hosted content can get executed in the context of the docker container.
Executive ViewAI
CVE-2025-65200 is a critical vulnerability in LocalStack 4.9.2, a tool commonly used by development teams to emulate AWS services. If exploited, an attacker could execute arbitrary code within the LocalStack Docker container, potentially compromising sensitive data and development environments. Leadership should care because this affects developer workstations and CI/CD pipelines, and while exploitation requires user interaction and network reachability, the risk of data breach or lateral movement is significant if LocalStack is exposed.
No vendor-released patch identified at time of analysis. Interim mitigations include: restricting network access to the LocalStack deploy endpoint to trusted users only, ensuring LocalStack is bound to localhost (not publicly accessible), enabling authentication if supported, and monitoring for anomalous CloudFormation template URLs.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Localstack
View allThe dashboard component of StackLift LocalStack 0.12.6 allows attackers to inject arbitrary shell commands via the funct
A Cross-site scripting (XSS) vulnerability exists in StackLift LocalStack 0.12.6. Rated medium severity (CVSS 6.1), this
Missing SSL certificate validation in localstack v2.3.2 allows attackers to eavesdrop on communications between the host
Reflected cross-site scripting in LocalStack 4.9.2 lets a remote, unauthenticated attacker execute arbitrary JavaScript
OS command injection in localstack serverless-localstack up to version 1.4.0 allows a local low-privileged attacker to e
EUVD-2025-211174
GHSA-xgg2-59hm-7r89
NVD
CVE.org
EPSS
Exploit-DB