← Back to search

CVE-2025-65200

9.6 CRITICALpublic exploit available

Published 2026-10-22 · Updated 2026-10-29

AI risk analysis

Summary
In LocalStack 4.9.2, the _localstack/cloudformation/deploy endpoint accepts a templateURL parameter that allows an unauthenticated attacker to specify a web-accessible URL pointing to malicious CloudFormation template content; when processed, this content executes arbitrary code inside the LocalStack Docker container, enabling full compromise of the service and underlying infrastructure.
Exploitability
Exploitation requires only network access to the vulnerable endpoint and the ability to host malicious content on a publicly reachable URL; no authentication or user interaction beyond clicking a link is needed.
Blast radius
Successful exploitation grants code execution as the LocalStack container user, potentially enabling lateral movement, data exfiltration, or infrastructure compromise within the LocalStack environment and any connected AWS services.
Detection
Monitor for HTTP requests to /_localstack/cloudformation/deploy containing external templateURLs pointing to non-official or unexpected domains; inspect response logs for CloudFormation stack creation events triggered from such URLs. No reliable host-level artefacts are described in the published advisory.
Prioritized remediation
Upgrade to LocalStack version 4.9.3 or later, which addresses CVE-2025-65200 by validating and restricting templateURL sources.
rcecloudformationwebcontainer-escapeunvalidated-url

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Weaknesses

CWE-79

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.