Bug 2506023 (CVE-2026-16524)

Summary: CVE-2026-16524 PCP: PCP linux_sockets PMDA: Arbitrary Command Execution via Command Injection
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kgaikwad, rhel-process-autobot, security-response-team, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A command injection flaw in PCP's linux_sockets PMDA allows malicious shell metacharacters via the network.persocket.filter metric. This failed validation lets attackers execute arbitrary commands as the PMDA user when metrics refresh.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2511440    
Bug Blocks:    
Deadline: 2026-07-30   

Description OSIDB Bzimport 2026-07-22 06:47:30 UTC
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 errata-xmlrpc 2026-08-17 10:32:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:55560 https://access.redhat.com/errata/RHSA-2026:55560

Comment 2 errata-xmlrpc 2026-08-17 19:41:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:55740 https://access.redhat.com/errata/RHSA-2026:55740

Comment 3 errata-xmlrpc 2026-08-17 19:46:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:55617 https://access.redhat.com/errata/RHSA-2026:55617