CVE-2025-6020 - CVE House
Back to Database
Status published High CVE-2025-6020

Linux-pam: linux-pam directory traversal

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-6020

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Red Hat would like to thank Olivier BAL-PETRE (ANSSI - French Cybersecurity Agency) for reporting this issue.

Affected Vendor

Affected Software

Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Telecommunications Update Service, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Extended Update Support, Red Hat Web Terminal 1.11 on RHEL 9, Red Hat Web Terminal 1.12 on RHEL 9, RHEL-8 based Middleware Containers, RHOSS-1.36-RHEL-8, cert-manager operator for Red Hat OpenShift 1.16, OpenShift Compliance Operator 1, Red Hat Discovery 2, Red Hat Insights proxy 1.5, Red Hat OpenShift distributed tracing 3.6.0, Red Hat OpenShift sandboxed containers 1.1
Vulnerable Versions:
0, 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, 0:1.3.1-38.el8_10, 0:1.3.1-8.el8_2.1, 0:1.3.1-14.el8_4.1, 0:1.3.1-16.el8_6.2, 0:1.3.1-26.el8_8.1, 0:1.5.1-26.el9_6, 0:1.5.1-25.el9_6, 0:1.5.1-9.el9_0.2, 0:1.5.1-15.el9_2.1, 0:1.5.1-24.el9_4, 1.11-19, 1.11-8, 1.12-4, 7.13.5-4.1752066672, 7.13.5-4.1752065732, 7.13.5-3.1752065737, 7.13.5-4.1752065731, 7.13.5-25, 7.13.5-4.1752065736, 7.13.5-2.1752065733, 7.13.5-4.1752065755, 1.36.0-11, 1.36.0-10, 1.36.0-4, 1.36.0-9, 1.36.0-12, 1.36.0-18, 1.36.0-7, v1.16.5-1760515757, 1.8.0, 2.0.0-1752592913, 2.2.1-1758555934, 1.5.7-1759331989, rhosdt-3.6-1752046452, rhosdt-3.6-1752046437, rhosdt-3.6-1752046439, rhosdt-3.6-1752070865, rhosdt-3.6-1752070873, rhosdt-3.6-1751993590, rhosdt-3.6-1752070827, rhosdt-3.6-1752070833, rhosdt-3.6-1752070866, 1.10.2-1757422110, 1.10.2-1757421804, 1.10.2-1757421879, 1.10.2-1757422401

Timeline

Official Publish: June 17th, 2025
Last Modified: June 30th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)