Skip to content
OpenAdvisories
High · 7.1 CVE-2026-87114 EUVD-2026-88361GHSA-c73r-9gcf-qjwr

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

Published Sep 28, 2026 · Updated Oct 7, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
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 Hat Red Hat OpenShift Container Platform 4.22 — —
Red Hat Pen Drive Powered by Red Hat Lightspeed — —

References