CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
github.com/openshift/builder through 4.0.0
GitHub advisory GHSA-qqv8-ph7f-h3f7
Fixed in
Not listed
check the vendor advisory
Severity
Critical 9.1
CVSS 3.1 from redhat
Exploit odds (EPSS)
2.32% in 30 days
higher than 84% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
openshift/buildernot stated
Red HatRed Hat OpenShift Container Platform 4.12 openshift4/ose-docker-builderall versions (default)
Red HatRed Hat OpenShift Container Platform 4.13 openshift4/ose-docker-builderall versions (default)
Red HatRed Hat OpenShift Container Platform 4.14 openshift4/ose-docker-builderall versions (default)
Red HatRed Hat OpenShift Container Platform 4.15 openshift4/ose-docker-builderall versions (default)
Red HatRed Hat OpenShift Container Platform 4.16 openshift4/ose-docker-builder-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.17 openshift4/ose-docker-builder-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/aws-kms-encryption-provider-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/azure-kms-encryption-provider-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/azure-service-rhel9-operatorall versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/cloud-network-config-controller-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/container-networking-plugins-microshift-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/driver-toolkit-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/egress-router-cni-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/frr-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/insights-runtime-exporter-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/insights-runtime-extractor-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/kube-metrics-server-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/kubevirt-csi-driver-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/network-tools-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/oc-mirror-plugin-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/openshift-route-controller-manager-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-api-server-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-csr-approver-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-node-agent-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-orchestrator-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-agent-installer-utils-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-apiserver-network-proxy-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-aws-cloud-controller-manager-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-aws-cluster-api-controllers-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-aws-ebs-csi-driver-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-aws-ebs-csi-driver-rhel9-operatorall versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-aws-pod-identity-webhook-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-cloud-controller-manager-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-cloud-node-manager-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-cluster-api-controllers-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-disk-csi-driver-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-disk-csi-driver-rhel9-operatorall versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-file-csi-driver-operator-rhel9all versions (default)
Red HatRed Hat OpenShift Container Platform 4.18 openshift4/ose-azure-file-csi-driver-rhel9all 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?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/openshift/builder<= 4.0.0none listedGHSA-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?

ScoreVersionVectorSource
Critical 9.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:Hredhat

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?

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?

Who found and reported it?

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?

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.