Linux-pam: linux-pam directory traversal
CVE-2025-6020Published 17 Jun 2025, 12:44 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Discovery 1Common | not stated | — |
| RHOSS-1.36-RHEL-8Niche | not stated | — |
| Red Hat Insights proxy 1.5Niche | not stated | — |
| Red Hat Web TerminalNiche | not stated | — |
| cert-manager operator for Red Hat OpenShift 1.16Niche | not stated | — |
| linux-pamNiche | < 1.7.1 | 1.7.1 |
What to do
Update to a fixed version: 1.7.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 44), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 17 Jun 2025 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-22
References
- https://access.redhat.com/errata/RHSA-2025:10024redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10027redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10180redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10354redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10357redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10358redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10359redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10361redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10362redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10735redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:10823redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:11386redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:11487redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14557redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15099redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15709redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15827redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15828redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:16524redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:17181redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:18219redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:20181redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:21885redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22019redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:9526redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0934redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-6020redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2372512issue-tracking, redhat
- https://github.com/linux-pam/linux-pam/security/advisories/GHSA-f9p8-gjr4-j9gx
- http://www.openwall.com/lists/oss-security/2025/06/17/1
- https://lists.debian.org/debian-lts-announce/2025/09/msg00021.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
- CVE-2025-6020 on CVE.org