home / blog

2026-11-10 · high

CVE-2025-6020: Privilege escalation in pam_namespace

pam_namespace privilege escalation: local users reach root via symlink attacks. CVSS 7.8. Patch available.

CVE-2025-6020: Privilege escalation in pam_namespace

CVE-2025-6020 is a privilege escalation flaw in the pam_namespace module of Linux-PAM. The vulnerability allows local users to exploit unprotected access to user-controlled paths through symlink attacks and race conditions to escalate privileges to root. The pam_namespace module is critical in Linux PAM configurations because it manages user namespace isolation: its compromise directly impacts root access security.

With a CVSS score of 7.8 (high severity), the vulnerability represents a significant risk for systems exposing untrusted local users. Status is confirmed: the flaw was registered by NVD on June 17, 2025, and upstream repositories report fixes available as of November 10, 2026. The attack vector remains local, which slightly reduces overall exposure compared to remote attacks, but the capability to escalate to root makes it critical for security teams.

System administrators and IT teams must prioritize updating linux-pam on all systems where pam_namespace is enabled or where untrusted local users have access. Check your current version, consult your Linux distribution upstream channels, and apply patches as soon as they are available. Monitor authentication and temporary path access logs for exploit signals, and restrict direct access of untrusted users to critical servers.

At a glance

What
Flaw in pam_namespace (Linux-PAM module) allowing local users to exploit symlink attacks and race conditions to escalate privileges to root.
Severity
CVSS 7.8 - High: local privilege escalation to root
Affected versions
not reported in provided data
Fix
Upstream fix available (reported by GitHub repository on 2026-11-10)
Status
Confirmed vulnerability (NVD published 2025-06-17), fix in upstream
Action
Update linux-pam; verify systems with pam_namespace enabled; monitor access logs for suspicious symlink activity

Sources: NVD, CVE-2025-6020

← All articles