---
id: CVE-2026-87114
title: A flaw was found in kube-compare
summary: >-
  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 a…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-829
vendor: Red Hat
product: openshift4/kube-compare-artifacts-rhel9
affected:
  - openshift4/kube-compare-artifacts-rhel9 (all versions)
  - openshift4/kube-compare-artifacts-rhel9 (all versions)
  - openshift4/kube-compare-artifacts-rhel9 (all versions)
  - openshift4/kube-compare-artifacts-rhel9 (all versions)
  - pen-drive/pen-drive-scanner-rhel9 (all versions)
patched:
  - openshift_container_platform 4.20
  - openshift_container_platform 4.21
  - openshift_container_platform 4.22
published: '2026-09-28'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T15:17:56.733'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87114'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:74381'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:74384'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:74430'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:74435'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-87114'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2522945'
    label: secalert@redhat.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87114.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-87114'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87114'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-29T16:08:04.349146Z'
epss: 0.00363
epssPercentile: 0.29961
ingestedAt: '2026-09-28T17:16:27.808Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Pen Drive Powered by Red Hat Lightspeed · no fix planned: Pen Drive Powered by Red Hat Lightspeed · updated 2026-10-07 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87114.json)
- **RHSA-2026:74381** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.20 · released 2026-10-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:74381)
- **RHSA-2026:74384** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.21 · released 2026-10-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:74384)
- **RHSA-2026:74430** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.22 · released 2026-10-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:74430)
