Skip to content
OpenAdvisories
High · 7.8 CVE-2026-95519 EUVD-2026-85877GHSA-r6wm-889r-jqv7

Rpm: code execution via macro expansion of manifest entries in `rpmgi` (`-q -p` / verify manifest flows)

Published Sep 24, 2026 · Updated Nov 6, 2026 · Assigned by redhat

Description

A flaw was found in rpm. An attacker can supply a crafted manifest file that, when processed by a user or automation using `rpm -q -p` or similar manifest-processing flows, leads to arbitrary code execution. This occurs because manifest entries are unexpectedly macro-expanded before being opened, allowing embedded shell commands to run with the privileges of the `rpm` process. Successful exploitation can lead to a full compromise of confidentiality, integrity, and availability for the affected account.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
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 Enterprise Linux 9 — —
Red Hat Red Hat Hardened Images — —
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 —

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

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rpm No fix yet —

Advisories 3

References