CVE-2026-16526: Pcp: pcp: privilege escalation to root via linux_sockets pmda vulnerability
A flaw in the PCP linuxsockets module exposes an unsecured internal connection. An attacker with initial code execution can exploit this to escalate privileges and execute arbitrary commands as root.
Other sources
Summary: When the linuxsockets PMDA is loaded as a DSO inside PMCD, code execution achieved via Vulnerability 3 (network.persocket.filter injection) can be escalated from user pcp to root. The pmdarootfd Unix socket connection to pmdaroot is created without OCLOEXEC, causing all child processes spawned by popen() to inherit it. pmdaroot runs as root and processes PDUROOTSTARTPMDAREQ without per-request authentication, executing attacker-controlled arguments via execvp() as root. Prerequisites: • Vulnerability 3 (linuxsockets command injection) required for initial code execution - exploitable either locally via pmcd (TCP 44321, localhost only by default) or remotely via the pmproxy REST API (TCP 44322, all interfaces by default, no authentication required). linuxsockets • PMDA loaded as DSO in PMCD (requires explicit configuration in pmcd.conf; default is daemon mode).
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/pcpto a version that resolves this vulnerability.Fixed in 7.2.0-1 - Upgrade
Upgrade
debian/pcpto a version that resolves this vulnerability.Fixed in 7.2.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-16526?
The severity of CVE-2026-16526 is rated high with a score of 8.8.
How do I fix CVE-2026-16526?
To fix CVE-2026-16526, update the PCP software to the latest patched version that addresses this vulnerability.
What types of attacks can exploit CVE-2026-16526?
CVE-2026-16526 can be exploited by an attacker with initial code execution to escalate privileges and execute arbitrary commands as root.
What is the impact of CVE-2026-16526 on my system?
The impact of CVE-2026-16526 is significant as it allows for privilege escalation to root, potentially compromising the entire system.
Which software components are affected by CVE-2026-16526?
CVE-2026-16526 affects the PCP and linux_sockets module, making those components vulnerable to exploitation.