CVE-2026-87114 Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
Kube-compare executes untrusted container entrypoints during reference extraction, allowing remote attackers to achieve arbitrary code execution and potential privilege escalation on the operator's workstation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-87114?
CVE-2026-87114 is a high-severity code injection vulnerability in Pen Drive Powered by Red Hat Lightspeed, published on 28 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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
Which versions are affected by CVE-2026-87114?
How do I fix CVE-2026-87114?
No fix has been published for CVE-2026-87114 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-87114 being exploited?
There is no known exploitation of CVE-2026-87114 in the wild and no public exploit code.
Sources
Also known as GHSA-c73r-9gcf-qjwr.