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.
Published: 2026-09-28
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Workaround
AI Analysis

Impact

A flaw in kube-compare causes it to execute the entry point of an untrusted container image when it encounters a reference that uses the container:// scheme. Instead of simply extracting data from a stopped container, the tool runs the image, allowing a remote attacker to run arbitrary code on the operator's machine. If the Docker daemon requires elevated privileges, the attacker can obtain root‑level privileged access to the daemon, amplifying the compromise and creating a broad risk of system compromise.

Affected Systems

The vulnerability affects Red Hat OpenShift Container Platform 4 and the Pen Drive Powered by Red Hat Lightspeed product. Specific affected product versions are not detailed in the CNA data. Operators should verify the exact installed components of OpenShift 4 and the Lightspeed driver.

Risk and Exploitability

The CVSS base score of 7.1 places this in the high‑risk category, yet its EPSS score is currently unavailable. The vulnerability is not listed in the CISA KEV catalog. Because the flaw requires only the use of kube‑compare with a container:// reference and does not need privileged network access, the attack vector is straightforward from a remote context that can supply the image reference. For Docker setups that require sudo, the attacker can gain elevated daemon permissions, turning the vulnerability into a full privilege escalation mechanism.

Generated by OpenCVE AI on September 28, 2026 at 18:44 UTC.

Remediation

Vendor 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.


OpenCVE Recommended Actions

  • Update kube-compare to the latest version that includes the security fix.
  • Configure kube‑compare to accept container references only from trusted image sources and avoid unverified images.
  • Re‑configure Docker’s sudo policy so that only authorized users can invoke docker commands, or use rootless Docker to harden the environment.
  • If the container:// scheme is not required, disable it or restrict its usage within the tool.

Generated by OpenCVE AI on September 28, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.19::el9
References

Wed, 07 Oct 2026 04:45:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.20::el9
References

Tue, 06 Oct 2026 10:15:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:4.21::el9
cpe:/a:redhat:openshift:4.22::el9
References

Tue, 29 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Redhat pen Drive Powered By Red Hat Lightspeed
Vendors & Products Redhat openshift Container Platform
Redhat pen Drive Powered By Red Hat Lightspeed

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 28 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
First Time appeared Redhat
Redhat openshift
Redhat pdrive Lightspeed
Weaknesses CWE-829
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:pdrive_lightspeed:1
Vendors & Products Redhat
Redhat openshift
Redhat pdrive Lightspeed
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}


Subscriptions

Redhat Openshift Openshift Container Platform Pdrive Lightspeed Pen Drive Powered By Red Hat Lightspeed
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-07T14:09:47.197Z

Reserved: 2026-09-08T20:41:51.624Z

Link: CVE-2026-87114

cve-icon Vulnrichment

Updated: 2026-09-29T15:57:40.251Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-28T17:17:51.530

Modified: 2026-10-07T15:17:56.733

Link: CVE-2026-87114

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-28T16:15:00Z

Links: CVE-2026-87114 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-29T13:20:50Z

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere