BreachSpiderVerified, not vibes

CVE-2024-7387 in Docker products

Critical 9.1 Fix available

A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the “Docker” strategy, executable files inside the privileged build container can be overridden ...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.1
EPSS3.4%
EPSS percentile90th
FixAvailable

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Docker — —
Openshift — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the “Docker” strategy, executable files inside the privileged build container can be overridden using the `spec.source.secrets.secret.destinationDir` attribute of the `BuildConfig` definition. An attacker running code in a privileged container could escalate their permissions on the node running the container.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-7387
BreachSpider IDBS-2024-GLOBAL-046938-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published2024-09-17
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-250: CWE-250

Related attack patterns (CAPEC)

CAPEC-470 Expanding Control over the Operating System from the Database via CWE-250

CAPEC-69 Target Programs with Elevated Privileges via CWE-250

CAPEC-104 Cross Zone Scripting via CWE-250

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical vulnerability in openshift/builder allows command injection via path traversal, enabling a malicious user to execute arbitrary commands on the OpenShift node running the builder container.

The vulnerability arises from the improper validation of the `spec.source.secrets.secret.destinationDir` attribute in the `BuildConfig` when using the 'Docker' strategy. This allows an attacker to specify a malicious path that can lead to the execution of arbitrary commands within the privileged build container.

Questions

What is CVE-2024-7387?

A critical vulnerability in openshift/builder allows command injection via path traversal, enabling a malicious user to execute arbitrary commands on the OpenShift node running the builder container.

What is the CVSS score for CVE-2024-7387?

CVE-2024-7387 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 3.4%.

Is CVE-2024-7387 actively exploited?

No confirmed active exploitation of CVE-2024-7387 as of 2026-05-30.

How do I remediate CVE-2024-7387?

Priority: IMMEDIATE.

What systems are affected by CVE-2024-7387?

CVE-2024-7387 affects Docker; Openshift.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Docker","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.