{
  "id": "CVE-2026-84837",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-84837",
  "published_at": "2026-09-02T15:12:58.497Z",
  "title": "Rpm: command injection in `rpmbuild -t*` (`gettarspec`) via unescaped tarball path",
  "vendor": "Red Hat",
  "product": "Red Hat",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "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 rpm. An attacker can exploit a command injection vulnerability by influencing the path or filename of a tarball processed by `rpmbuild -t*` to include shell metacharacters. This is particularly relevant in automated build or continuous integration (CI) workflows that ingest externally supplied artifact names. Successful exploitation allows for arbitrary command execution with the privileges of the build user, which could lead to information disclosure or disruption of the build environment.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:4.19.1.1-29.el10_3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.2 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:4.19.1.1-23.el10_2.3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:4.14.3-34.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:4.14.3-34.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:4.16.1.3-43.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:4.16.1.3-43.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:4.16.1.3-40.el9_8.3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Hardened Images",
        "ranges": null,
        "fixed_in": [
          "6.1.0-1.3.hum1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:4.19.1.1-29.el10_3 or later.",
      "Upgrade Red Hat Enterprise Linux 10.2 Extended Update Support to 0:4.19.1.1-23.el10_2.3 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:4.14.3-34.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:4.14.3-34.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:4.16.1.3-43.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:4.16.1.3-43.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 0:4.16.1.3-40.el9_8.3 or later.",
      "Upgrade Red Hat Hardened Images to 6.1.0-1.3.hum1 or later."
    ],
    "workarounds": [
      "To mitigate this issue, avoid using `rpmbuild -t*` with tarballs whose paths or filenames can be influenced by untrusted input. In automated build pipelines, ensure tarballs are staged into a trusted local directory and their names are normalized or validated to reject shell metacharacters before `rpmbuild` is invoked."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:100637"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:100638"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:100643"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:82378"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99593"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99595"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
