Bug 2511440 - CVE-2026-16524 pcp: PCP linux_sockets PMDA: Arbitrary Command Execution via Command Injection [fedora-all]
Summary: CVE-2026-16524 pcp: PCP linux_sockets PMDA: Arbitrary Command Execution via C...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pcp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: William Cohen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["cb5c65ac-25f3-4815-b645-8...
Depends On:
Blocks: CVE-2026-16524
TreeView+ depends on / blocked
 
Reported: 2026-08-05 11:10 UTC by Srikanth Balasubramanian
Modified: 2026-08-07 20:32 UTC (History)
7 users (show)

Fixed In Version: pcp-7.2.0-1.fc45
Clone Of:
Environment:
Last Closed: 2026-08-07 20:32:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-08-05 11:10:43 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A command injection vulnerability exists in the linux_sockets PMDA through the
writable metric network.persocket.filter. The validation helper sockets_check_filter() returns
1 for safe input and 0 for unsafe input, but the store handler uses an inverted condition: safe
expressions are rejected while malicious ones containing shell metacharacters are silently
accepted. The attacker-controlled filter value is later incorporated into a shell command
executed via popen() whenever socket metrics are refreshed, enabling arbitrary command
execution as the PMDA process user.
Prerequisites:
• linux_sockets PMDA loaded;
• ss binary present (/usr/sbin/ss or /usr/bin/ss);
• no [access] section restricting pmstore in pmcd.conf (default behavior).

Comment 1 William Cohen 2026-08-07 20:32:21 UTC
This CVE has been addressed in the new pcp-7.2.0-1 RPM builds available for Fedora Rawhide, Fedora 44, and Fedora 43.


Note You need to log in before you can comment on or make changes to this bug.