CVE-2026-16524

Pcp: pcp linux_sockets pmda: arbitrary command execution via command injection

Published Jul 30, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A command injection flaw in PCP’s linux_sockets PMDA allows malicious shell meta characters to be supplied through the network.persocket.filter metric without proper validation. During a metrics refresh the flaw enables an attacker to inject and run arbitrary commands as the PMDA user, compromising the host with the same privileges the PMDA process holds. This results in a full system compromise, including credential theft and persistence mechanisms, classified as a high‑severity functional flaw (CWE‑78).

Affected Systems

The vulnerability impacts Red Hat Enterprise Linux releases 6, 7, 8, 9, 10 and Red Hat OpenShift Container Platform 4 through the PCP component. Systems that include the linux_sockets PMDA are vulnerable; the affected products are those listed in the CNA vendor/product names for the RHEL releases and OpenShift.

Risk and Exploitability

The CVSS score of 7.8 highlights high severity, while the EPSS score of 1% indicates exploitation is relatively uncommon but still possible. The CVE is not listed in CISA’s KEV catalog. The likely attack vector is remote, via the network.persocket.filter metric stream used during metric collection. An attacker who can inject malicious data into that stream can run arbitrary commands as the PMDA user, achieving full system compromise. Monitoring, restricting access, and disabling the PMDA when not required are critical to reducing risk.

Remediation

Vendor Workaround

To prevent exploitation, restrict access to the `pmstore` utility by configuring the `[access]` section in `/etc/pcp/pmcd/pmcd.conf`. If the `linux_sockets` PMDA is not essential, it can be unloaded or disabled to remove the attack vector. After modifying `pmcd.conf`, the `pmcd` service must be restarted for changes to take effect.


OpenCVE Recommended Actions

  • Edit /etc/pcp/pmcd/pmcd.conf and in the [access] section restrict use of the pmstore utility so that only authorized users can invoke it.
  • If the linux_sockets PMDA is not essential, unload or disable the PMDA to remove the attack vector.
  • After modifying pmcd.conf or unloading the PMDA, restart the pmcd service to apply the changes.

Generated by OpenCVE AI on August 2, 2026 at 05:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/a:redhat:openshift:5
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.6::appstream
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References
Type Values Removed Values Added
First Time appeared Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/a:redhat:rhel_tus:8.8::appstream
Vendors & Products Redhat rhel Tus
References
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/a:redhat:rhel_e4s:9.4::appstream
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/o:redhat:enterprise_linux_eus:10.0
Vendors & Products Redhat enterprise Linux Eus
Redhat rhel Eus
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::appstream
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform
Type Values Removed Values Added
Description 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.
Title Pcp: pcp linux_sockets pmda: arbitrary command execution via command injection
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Weaknesses CWE-78
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 10:09 PM
Reserved
Jul 22, 2026, 6:52 AM
Status
Awaiting Analysis
Published
Jul 30, 2026, 6:25 AM
Modified
Nov 4, 2026, 10:18 PM
Severity
Important
Public date
Jul 30, 2026, 12:00 AM