CVE-2025-6020: Red Hat Enterprise Linux 10 linux-pam · Path Traversal
Affects Red Hat Enterprise Linux 10 linux-pamSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade Red Hat Enterprise Linux 10 linux-pam to 1.7.1 soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade linux-pam to 1.7.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-pam | Affected
| Fixed in
|
GitHublinux-pampkg:github/linux-pamOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has issued official security advisories with patches addressing CVE-2025-6020 for Red Hat Enterprise Linux 8 and 9.4 Extended Update Support versions. Users should apply the updates as described in Red Hat advisories RHSA-2025:10024 and RHSA-2025:10027. Refer to https://access.redhat.com/articles/11258 for detailed update instructions. Applying these updates mitigates the vulnerability. No additional mitigation steps are required beyond applying the official patches.
Description
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.
References
- access.redhat.com/errata/RHSA-2025:10024 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10027 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10180 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10354 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10357 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10358 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10359 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10361 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10362 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10735 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10823 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:11386 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:11487 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:14557 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15099 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15709 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15827 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15828 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:16524 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:17181 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:18219 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:20181 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:21885 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22019 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:9526 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:0934 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-6020 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2372512 (opens in a new tab)
- github.com/linux-pam/linux-pam/security/advisories/GHSA-f9p8-gjr4-j9gx (opens in a new tab)
- openwall.com/lists/oss-security/2025/06/17/1 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/09/msg00021.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-577017.html (opens in a new tab)