CVE-2026-84837
Received Received - Intake

Command Injection in RPM via rpmbuild -t

Vulnerability report for CVE-2026-84837, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-02

Last updated on: 2026-09-02

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-02
Last Modified
2026-09-02
Generated
2026-09-02
AI Q&A
2026-09-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
redhat rpm 4.19.1.1-23.el10

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-84837 is a command injection vulnerability in the RPM package manager's rpmbuild -t* command. It occurs when rpmbuild processes a tarball with a path or filename containing shell metacharacters, allowing an attacker to inject arbitrary shell commands. This can lead to unintended command execution with the privileges of the user running rpmbuild.

Detection Guidance

To detect this vulnerability, check for systems running rpmbuild -t* with untrusted tarballs. Look for filenames containing shell metacharacters like semicolons, backticks, or pipes. Inspect build logs for unexpected commands executed during rpmbuild operations.

Impact Analysis

This vulnerability allows an attacker to execute arbitrary commands on your system with the privileges of the build user. This could lead to information disclosure, system compromise, or disruption of the build environment. Exploitation requires the attacker to influence the tarball path or filename in a build or CI workflow.

Compliance Impact

This vulnerability could indirectly impact compliance with standards like GDPR or HIPAA by enabling arbitrary command execution in build environments. If exploited, it may lead to unauthorized access, data exfiltration, or system disruption, which could violate confidentiality or integrity requirements under these regulations. However, the actual compliance impact depends on the specific environment and whether the vulnerability is exploited in a system handling regulated data.

Mitigation Strategies
  • Avoid using rpmbuild -t* on tarballs with untrusted filenames or paths.
  • Stage tarballs in a trusted directory and normalize filenames to remove shell metacharacters before processing.
  • Update rpm to a patched version if available, ensuring shell-escaping of paths in getTarSpec.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84837. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart