PoC Monitor
← All CVEs
CVE-2026-84837published 2 Sep 2026 15:12 UTCData: JSON · API

Red Hat

Rpm: command injection in `rpmbuild -t*` (`gettarspec`) via unescaped tarball path

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Red Hat Red Hat Enterprise Linux 10

    Fixed in 0:4.19.1.1-29.el10_3

    Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support

      Fixed in 0:4.19.1.1-23.el10_2.3

      Red Hat Red Hat Enterprise Linux 8

        Fixed in 0:4.14.3-34.el8_10

        Red Hat Red Hat Enterprise Linux 8

          Fixed in 0:4.14.3-34.el8_10

          Red Hat Red Hat Enterprise Linux 9

            Fixed in 0:4.16.1.3-43.el9_9

            Red Hat Red Hat Enterprise Linux 9

              Fixed in 0:4.16.1.3-43.el9_9

              Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support

                Fixed in 0:4.16.1.3-40.el9_8.3

                Red Hat Red Hat Hardened Images

                  Fixed in 6.1.0-1.3.hum1

                  Mitigation

                  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.

                  Workaround

                  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

                  3 more

                  Timeline

                  Days relative to CVE publication
                  -2t=0+2+4+6+8CVE published2 Sep 2026 · t = 0

                  No public PoC found yet; not in CISA KEV.

                  PoC repositories

                  Found on GitHub.

                  No PoC repositories found yet.