Skip to main content

kube-compare CVE-2026-87114

| EUVDEUVD-2026-88361 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-09-28 redhat GHSA-c73r-9gcf-qjwr
7.1
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious container image with hostile entrypoint
  2. Delivery
    Lure operator to run kube-compare on container:// reference
  3. Exploit
    Tool executes untrusted image entrypoint
  4. Execution
    Arbitrary code runs on operator workstation
  5. Impact
    Inherit root via elevated Docker daemon

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Requires the operator to run kube-compare with a 'container://' reference path pointing at an attacker-controlled/untrusted container image; the tool then executes that image's entrypoint rather than only extracting data from a stopped container. Limiting factors: exploitation is local to the operator's workstation (AV:L) and demands user interaction (UI:R) - the victim must actively invoke the tool against the malicious reference. Privilege escalation to root is not automatic; it occurs only when the local Docker daemon is configured to run with elevated privileges, so full root-mediated impact is deployment-dependent.

Impact

This is a genuine but conditionally-gated risk. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U, base 7.1) is internally consistent with the description: the vulnerability is not a network-reachable service flaw but a client-side code-execution issue triggered when an operator runs kube-compare against a malicious 'container://' reference, so the 'remote attacker' supplies malicious content that is processed locally on the operator's workstation (hence AV:L plus UI:R, not AV:N). No EPSS score, no CISA KEV entry, and no public exploit are present in the provided data, so this is 'no public exploit identified at time of analysis' - the 7.1 reflects worst-case technical impact (full C:H/I:H, potentially root via an elevated Docker daemon), not evidence of active or imminent exploitation. The required user interaction (an operator must deliberately run the tool against attacker-controlled input) and the local vector meaningfully lower real-world risk versus a network-unauthenticated RCE of the same score. Note the description implies arbitrary code execution, which normally also yields availability impact, yet the vendor vector sets A:N - a minor conservative choice worth verifying. Overall: a legitimate supply-chain/tooling flaw for OpenShift operators but a targeted, interaction-dependent one rather than a mass-exploitation priority.

Exploit ScenarioDerived

An attacker publishes or influences a malicious container image and convinces an OpenShift operator to run kube-compare with a 'container://' reference pointing at it. Instead of merely extracting configuration data from a stopped container, the tool launches the image and runs its entrypoint, executing attacker code on the operator's workstation - and if the local Docker daemon runs with elevated privileges, that code inherits root-mediated daemon privileges. No public proof-of-concept is identified at time of analysis; exploitation requires the operator to actively invoke the tool against the attacker-supplied reference.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 28, 2026

Arbitrary code execution on an operator's workstation is achievable through kube-compare when it processes a 'container://' reference path pointing at an untrusted container image, because the tool launches that image's entrypoint instead of only reading data out of a stopped container. Exploitation is locally scoped and gated: per the assessed vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, an unauthenticated (PR:N) attacker must convince the operator to invoke the tool against the malicious reference (UI:R), so the victim's own action is the trigger. This is a genuine but conditionally-gated risk - escalation to full root-mediated impact occurs only where the local Docker daemon runs with elevated privileges - and no public exploit code or confirmed active exploitation (CISA KEV) has been identified at time of analysis; EPSS data was not supplied. The tool is distributed in Red Hat OpenShift Container Platform 4 and the 'Pen Drive Powered by Red Hat Lightspeed' offering.

RemediationAI

No vendor-released patch was identified at time of analysis, so the primary action is to check https://access.redhat.com/security/cve/CVE-2026-87114 and https://bugzilla.redhat.com/show_bug.cgi?id=2522945 for an updated kube-compare build and apply it as soon as Red Hat publishes the fixed version. Until then, stop passing 'container://' reference paths that resolve to images outside a trusted, internally controlled registry - this removes the attack path entirely, at the cost of losing that ingestion mode for third-party or user-supplied images. Where container-based comparison is unavoidable, pre-validate the reference against an allowlisted registry/digest policy and inspect the image manifest and config (entrypoint, cmd, volumes, mounts) before use, since those fields carry the payload. Reduce the blast radius by running the Docker daemon rootless, or by using a rootless Podman/user-namespace backend so any executed entrypoint is confined to the invoking user rather than root-mediated daemon privileges; the trade-off is that some workloads and volume mounts require rootful operation. Additionally, isolate the workstation workflow - execute kube-compare in a disposable, network-restricted VM or container with no credentials, kubeconfigs, or SSH keys mounted - and treat any image referenced by an untrusted party as hostile input. Detection should focus on kube-compare processes spawning container runtimes against unexpected image references.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

kube-compare is a Red Hat/OpenShift command-line utility used to diff live or gathered cluster configuration against reference templates; among its input modes is a 'container://' reference that resolves content from a container image. The root cause is CWE-829 (Inclusion of Functionality from Untrusted Control Sphere): rather than treating the image as an inert data source (e.g., creating the container without starting it and copying/exporting files from the stopped container), the implementation instantiates and runs the image so that its ENTRYPOINT/CMD executes on the host. That converts a data-extraction feature into a local code-execution primitive whose payload is attacker-controlled via the image manifest. Because the Docker daemon mediates the run, the effective privilege of the executed code is bounded by the daemon's configuration: a rootful daemon yields root-mediated execution, while a rootless or Podman-based daemon confines the payload to the invoking user. The assessed vector AV:L/PR:N/UI:R with C:H/I:H reflects host-confidentiality and integrity impact contingent on that daemon configuration; CPE data identifies the affected products as Red Hat OpenShift Container Platform 4 and Pen Drive Powered by Red Hat Lightspeed, with wildcard version fields meaning exact vulnerable builds are not enumerated in the supplied feed.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 7.8 HIGH

Local, no-auth code execution gated by operator running the tool against a malicious reference (AV:L/PR:N/UI:R); arbitrary code execution warrants full C/I/A:H, unlike the vendor's A:N.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity vulnerability in Red Hat OpenShift Container Platform 4 and the Pen Drive Powered by Red Hat Lightspeed offering enables arbitrary code execution on operator workstations through the kube-compare tool, requiring an unauthenticated attacker to convince an operator to process a malicious container reference. While no public exploit identified at time of analysis, successful exploitation could compromise sensitive data and lead to full system takeover, particularly if Docker runs with elevated privileges. Leadership should prioritize mitigation because these products are widely deployed in enterprise container environments, and the lack of a vendor patch increases organizational risk.

Business Impact: High
Compensating Controls

Restrict use of kube-compare to trusted container references; run Docker daemon in rootless mode or with least privilege; implement application allowlisting on operator workstations; monitor for suspicious process execution from kube-compare; provide user awareness training on social engineering risks; limit operator access to necessary resources.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche kubectl/OpenShift config-diff plugin, not broadly deployed despite OpenShift's larger footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:pen_drive_powered_by_red_hat_lightspeed:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy