CVE-2026-87114Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
Description
A flaw was found in kube-compare. When processing a 'container://' reference path, the tool incorrectly executes an untrusted container image's entrypoint instead of merely extracting data from a stopped container. This allows a remote attacker to achieve arbitrary code execution on the operator's workstation. If the Docker daemon requires elevated privileges, the untrusted code may execute with root-mediated daemon privileges, posing a significant security risk.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| openshift | 4.19 | — | |
| openshift | 4.20 | — | |
| openshift | 4.21 | — | |
| openshift | 4.22 | — | |
| Red Hat | Pen Drive Powered by Red Hat Lightspeed | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 4.19 | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 4.20 | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 4.21 | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 4.22 | all versions |
References and patches
- RHSA-2026:74381 vendor-advisory
- RHSA-2026:74384 vendor-advisory
- RHSA-2026:74430 vendor-advisory
- RHSA-2026:74435 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-87114 vdb-entry
- RHBZ#2522945 issue-tracking