{
  "id": "CVE-2026-87114",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-87114",
  "published_at": "2026-09-28T16:49:04.008Z",
  "title": "Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo",
  "vendor": "Red Hat",
  "product": "Red Hat OpenShift Container Platform 4.19",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-829",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.19",
        "ranges": null,
        "fixed_in": [
          "1790632105"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.20",
        "ranges": null,
        "fixed_in": [
          "1790707563"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.21",
        "ranges": null,
        "fixed_in": [
          "1790707362"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.22",
        "ranges": null,
        "fixed_in": [
          "1790718431"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat OpenShift Container Platform 4.19 to 1790632105 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.20 to 1790707563 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.21 to 1790707362 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.22 to 1790718431 or later."
    ],
    "workarounds": [
      "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:74381"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:74384"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:74430"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:74435"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
