We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-6020

Linux-pam: linux-pam directory traversal



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.

Reserved 2025-06-11 | Published 2025-06-17 | Updated 2025-06-17 | Assigner redhat


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

Problem types

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version before 1.7.1
affected

Default status
unknown

Default status
affected

Default status
affected

Timeline

2025-06-12:Reported to Red Hat.
2025-06-17:Made public.

Credits

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

References

access.redhat.com/security/cve/CVE-2025-6020 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2372512 (RHBZ#2372512) issue-tracking

cve.org (CVE-2025-6020)

nvd.nist.gov (CVE-2025-6020)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-6020

Support options

Helpdesk Chat, Email, Knowledgebase