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

Read the record on cve.org

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

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Affected Products

ProductVersions
Red Hat OpenShift Container Platform 4.19Red Hat
  • 1790632105 and laterNot affected
Red Hat OpenShift Container Platform 4.20Red Hat
  • 1790707563 and laterNot affected
Red Hat OpenShift Container Platform 4.21Red Hat
  • 1790707362 and laterNot affected
Red Hat OpenShift Container Platform 4.22Red Hat
  • 1790718431 and laterNot affected
Pen Drive Powered by Red Hat LightspeedRed Hat

    References

    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.