Home / Red Hat / Red Hat OpenShift Container Platform 4.12 / CVE-2024-7387
CVE-2024-7387: is it exploited, and which versions of Red Hat OpenShift Container Platform 4.12 are affected and fixed?
CVE-2024-7387 is a runs with more privileges than needed vulnerability in Red Hat OpenShift Container Platform 4.12. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: github.com/openshift/builder through 4.0.0 (GitHub advisory GHSA-qqv8-ph7f-h3f7). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.1, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 18:35 UTC and NVD November 19, 2026, 07:26 UTC.
What is 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.
From the CVE record by redhat, last updated August 11, 2026, 14:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| openshift/builder | not stated | ||
| Red Hat | Red Hat OpenShift Container Platform 4.12 openshift4/ose-docker-builder | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.13 openshift4/ose-docker-builder | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.14 openshift4/ose-docker-builder | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.15 openshift4/ose-docker-builder | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.16 openshift4/ose-docker-builder-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.17 openshift4/ose-docker-builder-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/aws-kms-encryption-provider-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/azure-kms-encryption-provider-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/azure-service-rhel9-operator | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/cloud-network-config-controller-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/container-networking-plugins-microshift-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/driver-toolkit-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/egress-router-cni-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/frr-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/insights-runtime-exporter-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/insights-runtime-extractor-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/kube-metrics-server-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/kubevirt-csi-driver-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/network-tools-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/oc-mirror-plugin-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/openshift-route-controller-manager-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-api-server-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-csr-approver-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-node-agent-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-orchestrator-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-utils-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-apiserver-network-proxy-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-aws-cloud-controller-manager-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-aws-cluster-api-controllers-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-aws-ebs-csi-driver-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-aws-ebs-csi-driver-rhel9-operator | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-aws-pod-identity-webhook-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-cloud-controller-manager-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-cloud-node-manager-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-cluster-api-controllers-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-disk-csi-driver-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-disk-csi-driver-rhel9-operator | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-file-csi-driver-operator-rhel9 | all versions (default) | |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift4/ose-azure-file-csi-driver-rhel9 | all versions (default) |
As the CVE record by redhat states it, last updated August 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/openshift/builder | <= 4.0.0 | none listed | GHSA-qqv8-ph7f-h3f7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 11, 2026. Summary: OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer.
How severe is CVE-2024-7387?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-7387 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, October 7, 2024)
- EPSS
- 2.32% probability of exploitation activity in the next 30 days, percentile 84.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-250 Execution with Unnecessary Privileges
Is there a workaround? (from the CVE record)
Cluster admins can follow the instructions in "Securing Builds by Strategy" to block use of the "Docker" build strategy on a cluster, or restrict the use to a set of highly trusted users, until the cluster is able to be upgraded. https://docs.openshift.com/container-platform/4.16/cicd/builds/securing-builds-by-strategy.html
Where are the vendor advisories and references?
- RHSA-2024:3718 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6122 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6685 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6687 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6689 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6691 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6705 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-7387 vdb-entry, x_refsource_REDHAT
- RHBZ#2302259 issue-tracking, x_refsource_REDHAT
- https://github.com/openshift/builder/commit/0b62633adfa2836465202bc851885e078ec888d1
- https://stuxxn.github.io/advisory/2024/10/02/openshift-build-docker-priv-esc.html
Who found and reported it?
- Red Hat would like to thank Armin Stock for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 1, 2024
- Published
- September 16, 2024, 23:58 UTC
- CVE record updated
- August 11, 2026, 14:55 UTC by redhat
- NVD
- Deferred, last modified August 11, 2026, 16:17 UTC
- Last checked
- CVE list November 28, 2026, 18:35 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat OpenShift Container Platform 4.12?
- Oct 12, 2026CVE-2026-75888 Red Hat OpenShift Container Platform 4.12: server-side request forgery (SSRF)
- Oct 8, 2026CVE-2026-93017 Red Hat OpenShift Container Platform 4.12: privilege escalation (improper privilege management)
- Oct 1, 2026CVE-2026-83589 Red Hat OpenShift Container Platform 4.12: open redirect
- Sep 23, 2026CVE-2026-75887 Red Hat OpenShift Container Platform 4.12: path traversal (reading or writing files outside the intended folder)
- Sep 18, 2026CVE-2026-75885 Red Hat OpenShift Container Platform 4.12: server-side request forgery (SSRF)
- Aug 11, 2026CVE-2026-50237 Red Hat OpenShift Container Platform 4.12: server-side request forgery (SSRF)
- Jul 28, 2026CVE-2026-49332 Red Hat OpenShift Container Platform 4.12: interpretation Conflict
- Jul 21, 2026CVE-2026-16445 Red Hat Enterprise Linux 8: OS command injection
Every CVE in Red Hat OpenShift Container Platform 4.12
Questions about CVE-2024-7387
Is CVE-2024-7387 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 2.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat OpenShift Container Platform 4.12 are affected by CVE-2024-7387?
github.com/openshift/builder through 4.0.0, per the GitHub advisory GHSA-qqv8-ph7f-h3f7. The tables above give every range the sources list.
Which version fixes CVE-2024-7387?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-7387?
Critical (9.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2024-7387?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.