CVE-2025-6020: Linux-pam: linux-pam directory traversal

Published Jun 12, 2025
·
Updated

A flaw was found in linux-pam. The module pamnamespace 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.

Other sources

The module pamnamespace in linux-pam <= 1.7.0 may access user-controlled paths without proper protections, which allows a local user to elevate their privileges to root via multiple symlink attacks and race conditions.

Red Hat

Affected Software

11 affected componentsFixes available
Linux-PAM Linux-PAM<=1.7.0
IBM Cognos Analytics<=11.2.0
IBM Cognos Analytics<=12.0
IBM Cognos Transformer<=12.0
IBM Cognos Transformer<=11.2.4
IBM Cognos Transformer<=12.1.0
IBM Cognos Analytics<=11.2.0
IBM Cognos Analytics<=12.1.0
IBM Cognos Analytics<=12.0
IBM Cognos Transformer<=11.2.4
IBM Cognos Transformer<=12.1.0

Event History

Jun 12, 2025
Data Sourced
via Red Hat·04:42 PM
DescriptionSeverityAffected Software
Jun 17, 2025
CVE Published
via MITRE·12:44 PM
Data Sourced
via MITRE·12:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
May 26, 2026
Data Sourced
via IBM·05:05 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6020?

CVE-2025-6020 is considered to have a high severity due to the potential for privilege escalation to root.

2

How do I fix CVE-2025-6020?

To fix CVE-2025-6020, upgrade to linux-pam version 1.7.1 or newer where the vulnerability is resolved.

3

Who is affected by CVE-2025-6020?

CVE-2025-6020 affects users of linux-pam versions 1.7.0 and earlier.

4

What type of vulnerability is CVE-2025-6020?

CVE-2025-6020 is a local privilege escalation vulnerability.

5

What causes the vulnerability in CVE-2025-6020?

The vulnerability in CVE-2025-6020 is caused by improper handling of user-controlled paths in the pam_namespace module.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2025-6020 - Linux-pam: linux-pam directory traversal - SecAlerts