CVE-2026-87114
published high CVSS 3.1 · 7.1Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift4/kube-compare-artifacts-rhel9Red Hat OpenShift Container Platform 4.19 · 1790632105 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift4/kube-compare-artifacts-rhel9Red Hat OpenShift Container Platform 4.20 · 1790707563 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift4/kube-compare-artifacts-rhel9Red Hat OpenShift Container Platform 4.21 · 1790707362 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift4/kube-compare-artifacts-rhel9Red Hat OpenShift Container Platform 4.22 · 1790718431 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | pen-drive/pen-drive-scanner-rhel9Pen Drive Powered by Red Hat Lightspeed | Affected | Not stated | redhat |
| Red Hat | — | openshift5/kube-compare-artifacts-rhel9Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4.19 | 1790632105 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4.20 | 1790707563 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4.21 | 1790707362 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4.22 | 1790718431 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Pen Drive Powered by Red Hat Lightspeed | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
References
6- RHSA-2026:74381 https://access.redhat.com/errata/RHSA-2026:74381
- RHSA-2026:74384 https://access.redhat.com/errata/RHSA-2026:74384
- RHSA-2026:74430 https://access.redhat.com/errata/RHSA-2026:74430
- RHSA-2026:74435 https://access.redhat.com/errata/RHSA-2026:74435
- https://access.redhat.com/security/cve/CVE-2026-87114
- RHBZ#2522945 https://bugzilla.redhat.com/show_bug.cgi?id=2522945
Provider assertions
2redhat · cna
Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8ebbd04c502b9b62279e6f0325c33e5baf5f889b46a9c10f287500272209ef7
- Ingested
- 30 Nov 2026, 04:19:33 UTC
- Source record
- Official CVE record