cve.bz

CVE-2026-87114

7.1 highEPSS 0.4%Fix available

High (7.1). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat OpenShift Container Platform 4.19: fixed in 1790632105
  • Red Hat Red Hat OpenShift Container Platform 4.20: fixed in 1790707563
  • Red Hat Red Hat OpenShift Container Platform 4.21: fixed in 1790707362
  • Red Hat Red Hat OpenShift Container Platform 4.22: fixed in 1790718431

Ask an AI about this CVE

Show the promptExplain CVE-2026-87114 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87114?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87114?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87114 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat OpenShift Container Platform 4.191790632105
Red Hat OpenShift Container Platform 4.201790707563
Red Hat OpenShift Container Platform 4.211790707362
Red Hat OpenShift Container Platform 4.221790718431

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in `kube-compare` allows arbitrary code execution on an operator's workstation. When `kube-compare` processes a malicious `container://` reference, and `docker` is configured to require `sudo` for daemon access, the untrusted image's entrypoint executes with root-mediated privileges. This risk is specific to environments where `kube-compare` interacts with `docker` requiring elevated permissions.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.19openshift4/kube-compare-artifacts-rhel9:1790632105Fixed 2026-10-07RHSA-2026:74435
Red Hat OpenShift Container Platform 4.20openshift4/kube-compare-artifacts-rhel9:1790707563Fixed 2026-10-06RHSA-2026:74381
Red Hat OpenShift Container Platform 4.21openshift4/kube-compare-artifacts-rhel9:1790707362Fixed 2026-10-06RHSA-2026:74384
Red Hat OpenShift Container Platform 4.22openshift4/kube-compare-artifacts-rhel9:1790718431Fixed 2026-10-06RHSA-2026:74430
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87114.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON