CVE-2026-87114Kube-compare: container:// reference extraction runs the image entrypoint and silently…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat OpenShift Container Platform 4.19
- Red Hat OpenShift Container Platform 4.20
- Red Hat OpenShift Container Platform 4.21
- Red Hat OpenShift Container Platform 4.22
- Red Hat Pen Drive Powered by Red Hat Lightspeed
- Red Hat OpenShift Container Platform 5
Workaround: 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.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:74381 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:74384 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:74430 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:74435 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:74381
- https://access.redhat.com/errata/RHSA-2026:74384
- https://access.redhat.com/errata/RHSA-2026:74430
- https://access.redhat.com/errata/RHSA-2026:74435
- https://access.redhat.com/security/cve/CVE-2026-87114
- https://bugzilla.redhat.com/show_bug.cgi?id=2522945
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.