<Vulnerability name="CVE-2026-16526">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-07-30T00:00:00</PublicDate>
    <Bugzilla id="2506026" url="https://bugzilla.redhat.com/show_bug.cgi?id=2506026" xml:lang="en:us">
PCP: PCP: Privilege escalation to root via linux_sockets PMDA vulnerability
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>8.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-403</CWE>
    <Details xml:lang="en:us" source="Mitre">
A flaw in the PCP linux_sockets module exposes an unsecured internal connection.
An attacker with initial code execution can exploit this to escalate privileges and execute arbitrary commands as root.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw in the PCP linux_sockets module exposes an unsecured internal connection.
An attacker with initial code execution can exploit this to escalate privileges and execute arbitrary commands as root.
    </Details>
    <Statement xml:lang="en:us">
This is an Important privilege escalation vulnerability in PCP where an attacker can escalate privileges from the `pcp` user to `root`. This flaw requires a prior `linux_sockets` command injection vulnerability and a non-default configuration where the `linux_sockets` PMDA is loaded as a DSO in PMCD. Exploitation can occur locally or remotely depending on the `pmcd` and `pmproxy` configurations.
    </Statement>
    <Acknowledgement xml:lang="en:us">
Red Hat would like to thank Francisco Alisson Bezerra (TIM Security Red Team Research, TIM S.p.A), Lucas Gabriel Alves (TIM Security Red Team Research, TIM S.p.A), and Massimiliano Brolli (TIM Security Red Team Research, TIM S.p.A) for reporting this issue.
    </Acknowledgement>
    <Mitigation xml:lang="en:us">
To mitigate this vulnerability, ensure that the `linux_sockets` PMDA is not configured to load as a Dynamic Shared Object (DSO) within PMCD. The default configuration for this PMDA is daemon mode, which is not affected by this flaw. Review your `pmcd.conf` file to confirm the `linux_sockets` PMDA is not loaded as a DSO. If changes are made to `pmcd.conf`, a restart of the `pmcd` service is required for them to take effect.
    </Mitigation>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Affected</FixState>
        <PackageName>pcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Out of support scope</FixState>
        <PackageName>pcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Affected</FixState>
        <PackageName>pcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Affected</FixState>
        <PackageName>pcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Affected</FixState>
        <PackageName>pcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift:4">
        <ProductName>Red Hat OpenShift Container Platform 4</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>rhcos</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-16526
https://nvd.nist.gov/vuln/detail/CVE-2026-16526
    </References>
</Vulnerability>