Skip to content
Threat Brief

← All advisories

CVE-2026-87114

High 7.1No known exploitationFix status unknown

Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo

Record last updated

CVSS score

7.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.4%

Higher than 31% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-829

Patching and mitigation

Patch status
Unknown: no source documents a fix
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. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Red HatPen Drive Powered by Red Hat LightspeedNot documentedNot documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.19 (unaffected)1790632105Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.20 (unaffected)1790707563Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.21 (unaffected)1790707362Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.22 (unaffected)1790718431Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 5 (status unknown)Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references

CVE-2026-87114: Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo · Threat Brief