7.1High

CVE-2026-87114Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo

Red Hat Red Hat OpenShift Container Platform 4.19; Red Hat Red Hat OpenShift Container Platform 4.20; Red Hat Red Hat OpenShift Container Platform 4.21; Red Ha… Published: (1 month ago)

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.

Weakness (CWE): CWE-829

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches