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.
Published: 2026-09-02
Score: 7.8 High
EPSS: 1.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in rpm allows attackers to inject commands by tampering with the path or filename of a tarball that rpmbuild processes during its -t* mode. If an attacker supplies a tarball whose name or path contains shell metacharacters, rpmbuild will execute those characters as part of the build process, granting the attacker arbitrary code execution with the privileges of the user running the build. This can result in information disclosure, tampering with build artifacts, or disruption of automated build pipelines.

Affected Systems

Affected systems include Red Hat Enterprise Linux versions 6, 7, 8, 9, and 10, the Red Hat Hardened Images project, and the Red Hat Hummingbird release 1. The vulnerability stems from the rpm package bundled with these distributions, which is relied upon for building packages in many build environments.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity level. The EPSS score of 1% suggests a low but nonzero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed exploits in the wild. Nevertheless, the attacker can craft a specially named tarball and invoke rpmbuild -t* within an automated build or continuous integration workflow, thereby satisfying the conditions for successful exploitation and achieving arbitrary command execution.

Generated by OpenCVE AI on September 3, 2026 at 14:51 UTC.

Remediation

Vendor 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.


OpenCVE Recommended Actions

  • Install any vendor-released patch for the rpm package or upgrade to the latest supported version of the operating system.
  • Avoid using rpmbuild -t* with tarballs whose path or filename can be influenced by untrusted input in automated build pipelines.
  • Ensure tarballs are staged into a trusted local directory and normalize or validate their names to reject shell metacharacters before invoking rpmbuild.

Generated by OpenCVE AI on September 3, 2026 at 14:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat hardened Images
Vendors & Products Redhat hardened Images

Thu, 03 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 02 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title Rpm: command injection in `rpmbuild -t*` (`gettarspec`) via unescaped tarball path
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-78
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux Hardened Images Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-02T16:24:21.421Z

Reserved: 2026-09-02T11:56:41.213Z

Link: CVE-2026-84837

cve-icon Vulnrichment

Updated: 2026-09-02T15:46:32.311Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-02T16:17:33.560

Modified: 2026-09-03T18:12:56.407

Link: CVE-2026-84837

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-02T13:38:15Z

Links: CVE-2026-84837 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:27:13Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')