Skip to main content

LocalStack CVE-2025-65200

| EUVDEUVD-2025-211174 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-10-22 mitre GHSA-xgg2-59hm-7r89
9.6
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Host crafted content at web URL
  2. Delivery
    Lure user to deploy endpoint with templateURL param
  3. Exploit
    Server fetches and injects content into deploy page
  4. Execution
    Injected content executes in container/web context
  5. Impact
    Arbitrary 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Oct 26, 2026 - 16:25 CVSS 5.4

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

n/a n/a

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

Vendor (mitre) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 29, 2026 - 02:28 vuln.today
v2 - CVSS changed
Severity Changed
Oct 29, 2026 - 02:22 NVD
MEDIUM CRITICAL
CVSS changed
Oct 29, 2026 - 02:22 NVD
5.4 (MEDIUM) 9.6 (CRITICAL)
CVSS changed
Oct 26, 2026 - 16:23 NVD
5.4 (MEDIUM)
CVE Published
Oct 22, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular AWS-emulation dev/CI tool, rarely production-exposed, often localhost-bound
Data Quality
5 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
No
Human Impact
High

Priority Score

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

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.

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