CVE Database›CVE-2026-16524

CVE-2026-16524

PCP: PCP linux_sockets PMDA: Arbitrary Command Execution via Command Injection

Loading…

Severity

Important

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · July 30, 2026

Updated · October 13, 2026

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.

Statement

This flaw is rated as Important because it allows a local attacker to achieve arbitrary command execution as the PMDA process user within the Performance Co-Pilot (PCP) environment. Exploitation requires the linux_sockets PMDA to be loaded and the ss utility to be present, which are common configurations. The vulnerability stems from an inverted validation logic in the sockets_check_filter() function, enabling the injection of malicious shell metacharacters into a filter value that is later executed.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')