Skip to content
OpenAdvisories
High · 7.8 CVE-2026-84837 EUVD-2026-70108GHSA-7m7j-6vw6-f549

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

Published Sep 2, 2026 · Updated Nov 12, 2026 · Assigned by redhat

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 products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rpm No fix yet —
Debian 13 rpm No fix yet —
Debian 12 rpm No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rpm No fix yet —
Ubuntu 26.04 LTS rpm No fix yet —
Ubuntu 24.04 LTS rpm No fix yet —
Ubuntu 22.04 LTS rpm No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS rpm No fix yet —
Ubuntu Pro 18.04 LTS rpm No fix yet —
Ubuntu Pro 16.04 LTS rpm No fix yet —
Ubuntu Pro 14.04 LTS rpm No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 rpm +16 4.19.1.1-29.el10_3 RHSA-2026:99595
RHEL 9 rpm +15 4.16.1.3-43.el9_9 RHSA-2026:99593
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 rpm +19 6.1.0-1.3.hum1 RHSA-2026:82378

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 rpm +16 4.19.1.1-29.el10_3 RLSA-2026:99595
Rocky Linux 9 rpm +15 4.16.1.3-43.el9_9 RLSA-2026:99593

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rpm +16 4.16.1.3-29.amzn2023.0.9 ALAS2023-2026-3398
Amazon Linux 2 rpm +10 4.11.3-48.amzn2.0.7 ALAS2-2026-4076

Advisories 8

References