CVE-2025-6020
JSON

7.8high

Linux-pam: linux-pam directory traversal

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.49% (higher than 35% of CVEs)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
linux-pambefore 1.7.1CVE List
pamNot specified
Not affected: from 0:1.6.1-8.el10 before *, from 0:1.6.1-8.el10_0 before *, from 0:1.1.8-23.el7_9.1 before *, from 0:1.3.1-37.el8_10 before *, from 0:1.3.1-38.el8_10 before *, from 0:1.3.1-8.el8_2.1 before *
CVE List
web-terminal/web-terminal-rhel9-operatorNot specified
Not affected: from 1.11-19 before *
CVE List
web-terminal/web-terminal-tooling-rhel9Not specified
Not affected: from 1.11-8 before *, from 1.12-4 before *
CVE List
rhpam-7/rhpam-businesscentral-monitoring-rhel8Not specified
Not affected: from 7.13.5-4.1752066672 before *
CVE List
rhpam-7/rhpam-businesscentral-rhel8Not specified
Not affected: from 7.13.5-4.1752065732 before *
CVE List
rhpam-7/rhpam-controller-rhel8Not specified
Not affected: from 7.13.5-4.1752065732 before *
CVE List
rhpam-7/rhpam-dashbuilder-rhel8Not specified
Not affected: from 7.13.5-3.1752065737 before *
CVE List
rhpam-7/rhpam-kieserver-rhel8Not specified
Not affected: from 7.13.5-4.1752065731 before *
CVE List
rhpam-7/rhpam-operator-bundleNot specified
Not affected: from 7.13.5-25 before *
CVE List
rhpam-7/rhpam-process-migration-rhel8Not specified
Not affected: from 7.13.5-4.1752065736 before *
CVE List
rhpam-7/rhpam-rhel8-operatorNot specified
Not affected: from 7.13.5-2.1752065733 before *
CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en linux-pam. El módulo pam_namespace puede acceder a rutas controladas por el usuario sin la protección adecuada, lo que permite a los usuarios locales elevar sus privilegios a root mediante múltiples ataques de enlace simbólico y condiciones de ejecución.

References

https://access.redhat.com/errata/RHSA-2025:10024vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10027vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10180vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10354vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10357vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10358vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10359vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10361vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10362vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10735vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10823vendor-advisory
https://access.redhat.com/errata/RHSA-2025:11386vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-6020 changed 2026-11-06CVE Terms of Use
NVDCVE-2025-6020 changed 2026-11-06Public domain