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.
Published: 2026-10-22
Score: 9.6 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

LocalStack version 4.9.2 contains a flaw that permits arbitrary code execution when an attacker supplies a crafted URL to the templateURL parameter of the _localstack/cloudformation/deploy endpoint. The content fetched from the externally hosted URL is executed within the Docker container that runs LocalStack, allowing the attacker to run arbitrary commands in that container’s context. This vulnerability does not rely on user interaction beyond providing the templateURL; it can be used by any entity capable of issuing requests to the vulnerable endpoint.

Affected Systems

The vulnerability affects the LocalStack product, specifically the 4.9.2 release. Systems that run this version of LocalStack and expose the cloudformation deploy endpoint to potential attackers are at risk. No other vendors or product versions are currently known to be affected.

Risk and Exploitability

The issue provides a clear remote code execution path. The CVSS score is 9.6, indicating critical severity, and the EPSS score is <1%. The potential impact remains severe, allowing full compromise of the container environment. The vulnerability is not listed in CISA’s KEV catalog, but its exploitation would likely be straightforward for an attacker who can reach the interface. The vulnerability can be exploited remotely by supplying a malicious URL to the templateURL field, causing the container to execute the attacker’s payload without further authentication or privilege escalation within the LocalStack process.

Generated by OpenCVE AI on October 29, 2026 at 03:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LocalStack to a non-affected version (4.9.3 or later) once an official fix is released.
  • If an update is not yet available, restrict network access to the _localstack/cloudformation/deploy endpoint so that only trusted hosts can submit requests.
  • Implement validation logic to ensure that URLs passed to templateURL are internal or that the content is safe before execution, mitigating the risk of external malicious payloads.

Generated by OpenCVE AI on October 29, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Title Arbitrary Code Execution via Crafted templateURL in LocalStack 4.9.2

Thu, 29 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
Title Arbitrary Code Execution via Crafted templateURL in LocalStack 4.9.2

Mon, 26 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Crafted templateURL in LocalStack 4.9.2
Weaknesses CWE-94

Mon, 26 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Localstack
Localstack localstack
Vendors & Products Localstack
Localstack localstack

Fri, 23 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Crafted templateURL in LocalStack 4.9.2
Weaknesses CWE-94

Thu, 22 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
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.
References

Subscriptions

Localstack Localstack
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-29T01:56:35.051Z

Reserved: 2025-11-18T00:00:00.000Z

Link: CVE-2025-65200

cve-icon Vulnrichment

Updated: 2026-10-26T15:51:57.026Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-22T19:17:32.260

Modified: 2026-10-29T02:16:42.417

Link: CVE-2025-65200

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T03:30:15Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')