Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-95521— Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm

Quick assessment

Affected
Red Hat Red Hat Enterprise Linux 10
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

发现 rpm 中存在命令注入漏洞。如果源 RPM(source RPM)的源码文件或 spec 文件的基本文件名中包含 %() 宏构造,则在 rpm 重新定位源码文件列表时,会通过 popen() 执行攻击者控制的 shell 命令。这允许任意命令以调用者(通常是非 root 用户)的身份执行,只需安装、重建或以其他方式处理一个不受信任的 .src.rpm 文件即可。

CVSS 7.8 · High EPSS 0.58% · P46
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-95521

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm
Source: CVE Program / CVE List V5
Vulnerability Description
A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Enterprise Linux 10 - cpe:/o:redhat:enterprise_linux:10
Red Hat Red Hat Enterprise Linux 6 - cpe:/o:redhat:enterprise_linux:6
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:enterprise_linux:7
Red Hat Red Hat Enterprise Linux 8 - cpe:/o:redhat:enterprise_linux:8
Red Hat Red Hat Enterprise Linux 9 - cpe:/o:redhat:enterprise_linux:9
Red Hat Red Hat Hardened Images - cpe:/a:redhat:hummingbird:1

II. Public POCs for CVE-2026-95521

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-95521

请登录查看更多情报信息。

Other References for CVE-2026-95521 (2)

Same Patch Batch · Red Hat · 2026-09-24 · 8 CVEs total

CVE-2026-90959 8.1 HIGH Pulpcore: pulpcore: file:// scheme allowlist bypass in content upload file_url field enabl
CVE-2026-95519 7.8 HIGH Rpm: code execution via macro expansion of manifest entries in `rpmgi` (`-q -p` / verify m
CVE-2026-97185 7.8 HIGH Gimp: gimp: out-of-bounds write in gimpressionist plugin via crafted preset file
CVE-2026-94416 6.8 MEDIUM Aap-gateway: aap-gateway: authorization bypass via workload identity token forgery
CVE-2026-97177 6.6 MEDIUM Keycloak-services: keycloak-services: generic user update bypasses denied reset-password p
CVE-2026-97311 4.3 MEDIUM Keycloak-services: keycloak-services: admin rest api role-groups endpoint discloses groups
CVE-2026-97176 4.2 MEDIUM Keycloak-services: keycloak-services: essential acr requirement silently bypassed via cook

IV. Related Vulnerabilities

V. Comments for CVE-2026-95521

No comments yet


Leave a comment