What’s Vulnerable › Vulnerabilities

CVE-2026-87114: Kube-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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat OpenShift Container Platform 4.19 1790632105; Red Hat OpenShift Container Platform 4.20 1790707563; Red Hat OpenShift Container Platform 4.21 1790707362; Red Hat OpenShift Container Platform 4.22 1790718431. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-87114 or the next vulnerability affects your stack