Home / Red Hat / Red Hat Enterprise Linux 10 / CVE-2025-6020
CVE-2025-6020: is it exploited, and which versions of Red Hat Enterprise Linux 10 are affected and fixed?
CVE-2025-6020 is a path traversal (reading or writing files outside the intended folder) vulnerability in Red Hat Enterprise Linux 10. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: linux-pam before 1.7.1 (CVE record by redhat). Fixed in 1.7.1, 0:1.6.1-8.el10, 0:1.6.1-8.el10_0, 0:1.1.8-23.el7_9.1 and 2 more (CVE record by redhat). Severity: High (7.8, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-6020?
Linux-pam: linux-pam directory traversal
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.
From the CVE record by redhat, last updated November 6, 2026, 01:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| linux-pam | before 1.7.1 | 1.7.1 | |
| Red Hat | Red Hat Enterprise Linux 10 pam | all versions (default) | 0:1.6.1-8.el10 |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support pam | all versions (default) | 0:1.6.1-8.el10_0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support pam | all versions (default) | 0:1.1.8-23.el7_9.1 |
| Red Hat | Red Hat Enterprise Linux 8 pam | all versions (default) | 0:1.3.1-37.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 pam | all versions (default) | 0:1.3.1-38.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support pam | all versions (default) | 0:1.3.1-8.el8_2.1 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support pam | all versions (default) | 0:1.3.1-14.el8_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support pam | all versions (default) | 0:1.3.1-16.el8_6.2 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service pam | all versions (default) | 0:1.3.1-16.el8_6.2 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions pam | all versions (default) | 0:1.3.1-16.el8_6.2 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service pam | all versions (default) | 0:1.3.1-26.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions pam | all versions (default) | 0:1.3.1-26.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 9 pam | all versions (default) | 0:1.5.1-26.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 pam | all versions (default) | 0:1.5.1-25.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 pam | all versions (default) | 0:1.5.1-26.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 pam | all versions (default) | 0:1.5.1-25.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions pam | all versions (default) | 0:1.5.1-9.el9_0.2 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions pam | all versions (default) | 0:1.5.1-15.el9_2.1 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support pam | all versions (default) | 0:1.5.1-24.el9_4 |
| Red Hat | Red Hat Web Terminal 1.11 on RHEL 9 web-terminal/web-terminal-rhel9-operator | all versions (default) | 1.11-19 |
| Red Hat | Red Hat Web Terminal 1.11 on RHEL 9 web-terminal/web-terminal-tooling-rhel9 | all versions (default) | 1.11-8 |
| Red Hat | Red Hat Web Terminal 1.12 on RHEL 9 web-terminal/web-terminal-tooling-rhel9 | all versions (default) | 1.12-4 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-businesscentral-monitoring-rhel8 | all versions (default) | 7.13.5-4.1752066672 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-businesscentral-rhel8 | all versions (default) | 7.13.5-4.1752065732 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-controller-rhel8 | all versions (default) | 7.13.5-4.1752065732 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-dashbuilder-rhel8 | all versions (default) | 7.13.5-3.1752065737 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-kieserver-rhel8 | all versions (default) | 7.13.5-4.1752065731 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-operator-bundle | all versions (default) | 7.13.5-25 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-process-migration-rhel8 | all versions (default) | 7.13.5-4.1752065736 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-rhel8-operator | all versions (default) | 7.13.5-2.1752065733 |
| Red Hat | RHEL-8 based Middleware Containers rhpam-7/rhpam-smartrouter-rhel8 | all versions (default) | 7.13.5-4.1752065755 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-data-index-ephemeral-rhel8 | all versions (default) | 1.36.0-11 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-data-index-postgresql-rhel8 | all versions (default) | 1.36.0-11 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-db-migrator-tool-rhel8 | all versions (default) | 1.36.0-11 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 | all versions (default) | 1.36.0-10 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-jobs-service-postgresql-rhel8 | all versions (default) | 1.36.0-10 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8 | all versions (default) | 1.36.0-4 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-management-console-rhel8 | all versions (default) | 1.36.0-9 |
| Red Hat | RHOSS-1.36-RHEL-8 openshift-serverless-1/logic-operator-bundle | all versions (default) | 1.36.0-12 |
As the CVE record by redhat states it, last updated November 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-6020?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-6020 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, June 17, 2025)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Is there a workaround? (from the CVE record)
Disable the `pam_namespace` module if it is not essential for your environment, or carefully review and configure it to avoid operating on any directories or paths that can be influenced or controlled by unprivileged users, such as user home directories or world-writable locations like `/tmp`.
Where are the vendor advisories and references?
- RHSA-2025:10024 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10027 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10180 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10354 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10357 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10358 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10359 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10361 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10362 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10735 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10823 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11386 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11487 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14557 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:15099 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:15709 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:15827 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:15828 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:16524 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:17181 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:18219 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:20181 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21885 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22019 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9526 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0934 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-6020 vdb-entry, x_refsource_REDHAT
- RHBZ#2372512 issue-tracking, x_refsource_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
Who found and reported it?
- Red Hat would like to thank Olivier BAL-PETRE (ANSSI - French Cybersecurity Agency) for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 11, 2025
- Published
- June 17, 2025, 12:44 UTC
- CVE record updated
- November 6, 2026, 01:00 UTC by redhat
- NVD
- Deferred, last modified November 6, 2026, 01:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 10?
- Dec 3, 2026CVE-2026-119584 Red Hat Directory Server 11: memory leak
- Dec 3, 2026CVE-2026-118472 Red Hat Directory Server 11: NULL pointer dereference (crash)
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 3, 2026CVE-2026-118469 Red Hat Directory Server 11: integer underflow
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-15268 Red Hat Enterprise Linux 10: missing authorization
- Dec 1, 2026CVE-2026-135901 Red Hat Hardened Images: link following (a symlink lets an attacker reach other files)
Every CVE in Red Hat Enterprise Linux 10
Questions about CVE-2025-6020
Is CVE-2025-6020 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Enterprise Linux 10 are affected by CVE-2025-6020?
linux-pam before 1.7.1, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2025-6020?
1.7.1, 0:1.6.1-8.el10, 0:1.6.1-8.el10_0, 0:1.1.8-23.el7_9.1, 0:1.3.1-37.el8_10 and 0:1.3.1-38.el8_10, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-6020?
High (7.8, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-6020?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.