---
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: pen-drive/pen-drive-scanner-rhel9
affected:
  - pen-drive/pen-drive-scanner-rhel9 (all versions)
  - openshift4/kube-compare-artifacts-rhel9
published: '2026-09-28'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T17:17:51.530'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87114'
references:
  - 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
tags:
  - nvd
  - cve.org
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.
