Directory Traversal Affecting pam package, versions <1.5.3-7ubuntu6


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-PAM-15742517
  • published21 Mar 2026
  • disclosed17 Jun 2025

Introduced: 17 Jun 2025

CVE-2025-6020  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 pam to version 1.5.3-7ubuntu6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam package and not the pam package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1