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

Comment 4 Jon Orris 2026-09-28 04:02:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

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

Comment 5 Jon Orris 2026-09-28 04:58:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

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

Comment 6 Jon Orris 2026-09-28 15:13:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

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

Comment 7 Jon Orris 2026-09-28 15:14:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

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

Comment 8 Jon Orris 2026-09-30 07:56:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

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

Comment 10 Jon Orris 2026-10-01 22:45:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

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

Comment 11 Jon Orris 2026-10-01 22:52:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

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