Critical Directory Traversal Vulnerability in pam Package

pam Updated 28 Nov 2025

Summary

11/11/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:20181: Important: pam security update. Affects pam versions < 1.6.1-8.el10. Fixed in 1.6.1-8.el10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Pluggable Authentication Modules (PAM) is a suite of libraries that enables the integration of various authentication methods into applications without the need for recompilation. PAM is widely used in Unix-like operating systems, including AlmaLinux, to manage user authentication. The pam package, along with its development and library components, is essential for secure user access management. However, a recent vulnerability has been identified that could allow unauthorized access through directory traversal attacks.

Vulnerability Detail

The vulnerability identified as CVE-2025-6020 in the pam package allows for directory traversal, which could enable an attacker to gain unauthorized access to sensitive files on the system. This issue arises from improper validation of user input, allowing attackers to manipulate file paths and access files outside of the intended directory structure. The ramifications of this vulnerability could include unauthorized data exposure, system compromise, and potential escalation of privileges.

How To Fix

Minimum fixed version

1.6.1-8.el10

This is the first release that contains the fix.

sudo dnf update pam

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users should restrict access to sensitive files and directories until the package can be updated. This can be done by modifying file permissions or using access control lists (ACLs) to limit user access.

Conclusion

The directory traversal vulnerability in the pam package poses significant risks to system security. It is crucial for users to update their packages to the latest patched versions to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for pam →

Share this vulnerability

FAQ

CVE-2025-6020 is a directory traversal vulnerability in the pam package that allows attackers to access files outside of the intended directory structure.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. By uploading your manifest file, you can check if your application is affected by CVE-2025-6020.

The potential impacts include unauthorized access to sensitive files, data exposure, and possible escalation of privileges, leading to a compromised system.

Yes, a patch is available in version 1.6.1-8.el10 of the pam package. It is recommended to update to this version or later.

If immediate updates are not possible, consider implementing temporary workarounds such as restricting access to sensitive files and directories.

Related vulnerabilities

Recent vulnerabilities recorded for pam.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.6.1-8.el10

This is the first release that contains the fix.

sudo dnf update pam

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback