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

- Severity: High 7.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-09-28T16:49:04.008Z
- Modified: 2026-11-30T05:18:07.477Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- openshift4/kube-compare-artifacts-rhel9: no versions given (not affected: from 1790632105 before *; from 1790707563 before *; from 1790707362 before *; from 1790718431 before *)
- pen-drive/pen-drive-scanner-rhel9: no versions given
- openshift5/kube-compare-artifacts-rhel9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:74381> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74384> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74430> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74435> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-87114> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2522945> (issue-tracking)

## Sources

- CVE List: [CVE-2026-87114](https://www.cve.org/CVERecord?id=CVE-2026-87114), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-87114](https://nvd.nist.gov/vuln/detail/CVE-2026-87114), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-87114 · Whole record: https://cve.day/CVE-2026-87114.json · Rebuilt by cve.day 2026-11-30T05:32:19.902Z
