{"id":"CVE-2026-87114","published":"2026-09-28T16:49:04Z","modified":"2026-11-23T11:36:45Z","title":"Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo","vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.19","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00363,"percentile":0.30523,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74381","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74384","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74430","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74435","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-87114","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2522945","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":6.1},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.19","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.20","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.21","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","versions":["all versions"]},{"vendor":"Red Hat","product":"Pen Drive Powered by Red Hat Lightspeed","versions":["all versions"]}],"workarounds":{"items":["To mitigate this issue, users of `kube-compare` should ensure that any container images referenced via the `container://` scheme are from trusted sources. Avoid using untrusted or unverified container images as reference paths. If `docker` is configured to require `sudo` for daemon socket access, consider reviewing `sudo` policies to limit `docker` command execution to trusted users and contexts."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-29T16:08:04.349146Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-88361","exploited":false,"provenance":"source"}}