Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-84837

Опубликовано: 02 сент. 2026
Источник: redhat
CVSS3: 7.8

Описание

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.

Отчет

This issue is considered Moderate severity because, although successful exploitation can result in arbitrary command execution with the privileges of the user running rpmbuild, exploitation requires an attacker to influence the path or filename of a tarball that is subsequently processed by rpmbuild in tarball mode (-ta/-tb/-ts). The vulnerable code is not exposed as a network service and cannot be triggered remotely without a local build or CI workflow processing an attacker-controlled tarball name.

Меры по смягчению последствий

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10rpmAffected
Red Hat Enterprise Linux 6rpmOut of support scope
Red Hat Enterprise Linux 7rpmAffected
Red Hat Enterprise Linux 8rpmAffected
Red Hat Enterprise Linux 9rpmAffected
Red Hat Hardened ImagesrpmAffected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-78
https://bugzilla.redhat.com/show_bug.cgi?id=2478408rpm: Command Injection in `rpmbuild -t*` (`getTarSpec`) via Unescaped Tarball Path

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
13 дней назад

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.

CVSS3: 7.8
nvd
14 дней назад

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.

CVSS3: 7.8
debian
14 дней назад

A flaw was found in rpm. An attacker can exploit a command injection v ...

CVSS3: 7.8
github
14 дней назад

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.

7.8 High

CVSS3