CVE-2026-87114
Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
- State
- Published
- Severity
- 7.1 High
- Published
- Sep 28, 2026
- Updated
- Oct 7, 2026
- Reserved
- Sep 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat |
Weaknesses
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
Affected Products
| Product | Versions |
|---|---|
Red Hat OpenShift Container Platform 4.19Red Hat |
|
Red Hat OpenShift Container Platform 4.20Red Hat |
|
Red Hat OpenShift Container Platform 4.21Red Hat |
|
Red Hat OpenShift Container Platform 4.22Red Hat |
|
Pen Drive Powered by Red Hat LightspeedRed Hat |
References
- RHSA-2026:74381vendor-advisory
- RHSA-2026:74384vendor-advisory
- RHSA-2026:74430vendor-advisory
- RHSA-2026:74435vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-87114vdb-entry
- RHBZ#2522945issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.