CVE-2024-7387
CVE-2024-7387 — Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy
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.
Published Updated Sources: cvelistV5, redhat
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
9.1
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (8)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.1 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-250
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /builder.
References
11 on the record
- access.redhat.com/errata/RHSA-2024:3718
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:6122
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:6685
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:6687
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:6689
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:6691
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:6705
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2024-7387
vdb-entry, x_refsource_REDHAT
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-6387 Openssh: regresshion - race condition in ssh allows rce/dosCVSS 8.1
- CVE-2024-38813 VMware vCenter Server Privilege Escalation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-40602 SonicWall SMA1000 Missing Authorization VulnerabilityCVSS 6.6 · CISA KEV
- CVE-2026-87899 Execution with unnecessary privileges in cPanel allows remote authenticated users to execute arbitrary code with root privilegesCVSS 9.4
- CVE-2026-121720 OpenVPN 2.4.0 through 2.6.23 and 2.7_alpha1 through 2.7.8 on Windows allows local authenticated users to execute arbitrary code via a…CVSS 8.5
- CVE-2026-131818 ChargePoint Home Flex busybox Unnecessary Privileges Local Privilege Escalation VulnerabilityCVSS 7.8
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.