Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
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.
CVE-2026-87114
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-87114
Red Hat OpenShift Container Platform 4.19
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Red Hat OpenShift Container Platform 4.20
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Red Hat OpenShift Container Platform 4.21
Source reference: /containers/cna/affected/2/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Red Hat OpenShift Container Platform 4.22
Source reference: /containers/cna/affected/3/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Pen Drive Powered by Red Hat Lightspeed
Source reference: /containers/cna/affected/4/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"cpes": [
"cpe:/a:redhat:openshift:4.19::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift Container Platform 4.19",
"versions": [
{
"status": "unaffected",
"version": "1790632105",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "openshift4/kube-compare-artifacts-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openshift:4.20::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift Container Platform 4.20",
"versions": [
{
"status": "unaffected",
"version": "1790707563",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "openshift4/kube-compare-artifacts-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openshift:4.21::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift Container Platform 4.21",
"versions": [
{
"status": "unaffected",
"version": "1790707362",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "openshift4/kube-compare-artifacts-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openshift:4.22::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift Container Platform 4.22",
"versions": [
{
"status": "unaffected",
"version": "1790718431",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "openshift4/kube-compare-artifacts-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:pdrive_lightspeed:1"
],
"vendor": "Red Hat",
"product": "Pen Drive Powered by Red Hat Lightspeed",
"packageName": "pen-drive/pen-drive-scanner-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-87114
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #11871 · Revision 1
- Added to Heist Feed
- Publisher date