Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-829.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4.19 | — | 1790632105 | Patch available | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4.20 | — | 1790707563 | Patch available | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4.21 | — | 1790707362 | Patch available | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4.22 | — | 1790718431 | Patch available | CNA |
| Red Hat | Pen Drive Powered by Red Hat Lightspeed | — | — | No fix listed | CNA |
- Red Hat OpenShift Container Platform 4.19 VendorRed Hat Affected — Fixed in 1790632105 Patch available CNA
- Red Hat OpenShift Container Platform 4.20 VendorRed Hat Affected — Fixed in 1790707563 Patch available CNA
- Red Hat OpenShift Container Platform 4.21 VendorRed Hat Affected — Fixed in 1790707362 Patch available CNA
- Red Hat OpenShift Container Platform 4.22 VendorRed Hat Affected — Fixed in 1790718431 Patch available CNA
- Pen Drive Powered by Red Hat Lightspeed VendorRed Hat Affected — Fixed in — No fix listed CNA
Remediation
Red Hat 4 advisories
- RHSA-2026:74435 Released 2026-10-07 · Red Hat rating ImportantOpenShift Container Platform 4.19.50 security and extras update
- Red Hat OpenShift Container Platform 4.19 registry.redhat.io/openshift4/kube-compare-artifacts-rhel9, registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-cluster-nfd-rhel9-operator
- RHSA-2026:74381 Released 2026-10-06 · Red Hat rating ImportantOpenShift Container Platform 4.20.41 security and extras update
- Red Hat OpenShift Container Platform 4.20 registry.redhat.io/openshift4/kube-compare-artifacts-rhel9, registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-aws-efs-csi-driver-container-rhel9 +2
- RHSA-2026:74430 Released 2026-10-06 · Red Hat rating ImportantOpenShift Container Platform 4.22.17 security and extras update
- Red Hat OpenShift Container Platform 4.22 registry.redhat.io/openshift4/kube-compare-artifacts-rhel9, registry.redhat.io/openshift4/ose-aws-efs-csi-driver-container-rhel9, registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9
Show 1 more Red Hat advisories
- RHSA-2026:74384 Released 2026-10-06 · Red Hat rating ImportantOpenShift Container Platform 4.21.36 security and extras update
- Red Hat OpenShift Container Platform 4.21 registry.redhat.io/openshift4/kube-compare-artifacts-rhel9, registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-aws-efs-csi-driver-container-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Pen Drive Powered by Red Hat Lightspeed | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4.19 | Fixed | RHSA-2026:74435 |
| Red Hat OpenShift Container Platform 4.20 | Fixed | RHSA-2026:74381 |
| Red Hat OpenShift Container Platform 4.21 | Fixed | RHSA-2026:74384 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:74430 |
Not affected: 4 products
- Red Hat OpenShift Container Platform 4.19
- Red Hat OpenShift Container Platform 4.20
- Red Hat OpenShift Container Platform 4.21
- Red Hat OpenShift Container Platform 4.22
Timeline
- 2026-10-02 Threatist record created from CVE-2026-87114
- 2026-10-03 Alias added: GHSA-c73r-9gcf-qjwr
- 2026-10-06 Fix available: RHSA-2026:74384 · Red Hat
- 2026-10-06 Fix available: RHSA-2026:74430 · Red Hat
- 2026-10-06 Fix available: Red Hat OpenShift Container Platform 4.21, Red Hat OpenShift Container Platform 4.22 · Red Hat
- 2026-10-06 Fix available: openshift4/kube-compare-artifacts-rhel9@1790707362, openshift4/kube-compare-artifacts-rhel9@1790718431 · CNA
- 2026-10-06 2 new references · CNA
- 2026-10-07 Fix available: openshift4/kube-compare-artifacts-rhel9@1790707563 · CNA
- 2026-10-07 1 new reference · CNA
- 2026-10-07 Fix available: RHSA-2026:74381 · Red Hat
- 2026-10-07 Fix available: Red Hat OpenShift Container Platform 4.20 · Red Hat
- 2026-10-07 Fix available: openshift4/kube-compare-artifacts-rhel9@1790632105 · CNA
- 2026-10-07 1 new reference · CNA
- 2026-10-07 Fix available: RHSA-2026:74435 · Red Hat
- 2026-10-07 Fix available: Red Hat OpenShift Container Platform 4.19 · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-87114 · CVE Program
- CVE-2026-87114 · NVD
- FIRST EPSS
- GHSA-c73r-9gcf-qjwr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-87114 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences