CVE-2026-87114
High 7.1No known exploitationFix status unknownKube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 31% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
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
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Pen Drive Powered by Red Hat Lightspeed | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4.19 (unaffected) | 1790632105 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4.20 (unaffected) | 1790707563 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4.21 (unaffected) | 1790707362 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4.22 (unaffected) | 1790718431 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 5 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2026:74381 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:74384 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:74430 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:74435 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2026-87114 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2522945 (opens in a new tab)issue-tracking, x_refsource_redhat