Vulnerability · Published Sep 2, 2026 · Assigned by redhat
CVE-2026-84837Rpm: command injection in `rpmbuild -t*` (`gettarspec`) via unescaped tarball path
High 7.8
In plain English
A high-severity OS command injection in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rpm | no fix listed | DEBIAN-CVE-2026-84837 |
| Debian:13 | rpm | no fix listed | DEBIAN-CVE-2026-84837 |
| Debian:14 | rpm | no fix listed | DEBIAN-CVE-2026-84837 |
| Ubuntu:22.04:LTS | rpm | no fix listed | UBUNTU-CVE-2026-84837 |
| Ubuntu:24.04:LTS | rpm | no fix listed | UBUNTU-CVE-2026-84837 |
| Ubuntu:26.04:LTS | rpm | no fix listed | UBUNTU-CVE-2026-84837 |
| Ubuntu:26.10 | rpm | no fix listed | UBUNTU-CVE-2026-84837 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2026:82378 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-84837 vdb-entry, x_refsource_REDHAT
- RHBZ#2478408 issue-tracking, x_refsource_REDHAT