Description
A vulnerability was identified in localstack serverless-localstack up to 1.4.0. The affected element is an unknown function of the file src/index.js of the component Configuration Handler. The manipulation of the argument custom.localstack.docker.compose_file leads to os command injection. An attack has to be approached locally. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-07-23
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in localstack serverless-localstack releases up to 1.4.0 and is triggered through manipulation of the custom.localstack.docker.compose_file argument in the Configuration Handler’s src/index.js. By supplying a crafted value, an attacker can inject arbitrary operating‑system commands that are executed within the host environment, exploiting the weaknesses listed as CWE‑77 and CWE‑78. The security impact is the ability to run arbitrary code locally, potentially compromising the host system’s confidentiality, integrity, or availability.

Affected Systems

All installations of the localstack serverless-localstack component up to version 1.4.0 are affected. The issue is confined to this specific product; other Localstack modules are not known to be impacted.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity, and the EPSS score of less than 1% suggests a low likelihood of widespread exploitation at this time. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires local access, but an exploit has already been made publicly available, meaning an attacker with local presence could achieve command execution easily once the vulnerability is known. The absence of a published fix underscores the need for immediate remediation.

Generated by OpenCVE AI on August 3, 2026 at 20:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade localstack serverless-localstack to a version newer than 1.4.0 that removes the unsafe handling of docker.compose_file, or apply any vendor‑released patch that addresses OS command injection.
  • Validate the value supplied to custom.localstack.docker.compose_file against a strict whitelist of allowed file names or directories, ensuring that only trusted paths can be referenced and preventing arbitrary command execution.
  • Run the serverless-localstack process with the least privilege necessary, limiting its exposure to system resources and reducing the overall impact if the injection vector is successfully abused.

Generated by OpenCVE AI on August 3, 2026 at 20:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in localstack serverless-localstack up to 1.4.0. The affected element is an unknown function of the file src/index.js of the component Configuration Handler. The manipulation of the argument custom.localstack.docker.compose_file leads to os command injection. An attack has to be approached locally. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
Title localstack serverless-localstack Configuration index.js os command injection
First Time appeared Localstack
Localstack serverless-localstack
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:localstack:serverless-localstack:*:*:*:*:*:*:*:*
Vendors & Products Localstack
Localstack serverless-localstack
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Localstack Serverless-localstack
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-24T13:39:45.705Z

Reserved: 2026-07-23T14:06:33.140Z

Link: CVE-2026-16763

cve-icon Vulnrichment

Updated: 2026-07-24T13:39:41.877Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T22:16:51.910

Modified: 2026-07-24T20:47:10.293

Link: CVE-2026-16763

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:00:12Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')