Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling
- CVE-2026-137898
- GHSA-mfg6-j8xv-3fvx
- EUVD-2026-137510
Description
A flaw was found in pam. When built with libeconf and an unconfigured vendor directory, the pam_econf configuration handler misinterprets the search path, causing it to look for configuration files in a relative directory within the current working directory. A local attacker can exploit this by placing crafted environment configuration files in a world-writable location. If an administrator executes a privileged command from that directory, the malicious variables are loaded into the privileged process, resulting in local privilege escalation.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Red Hat Red Hat Enterprise Linux 10
No versions listed
Red Hat Red Hat Enterprise Linux 6
No versions listed
Red Hat Red Hat Enterprise Linux 7
No versions listed
Red Hat Red Hat Enterprise Linux 8
No versions listed
Red Hat Red Hat Enterprise Linux 9
No versions listed
Red Hat Red Hat Hardened Images
Affected versions Fixed in from 1.7.2-4.2.hum1 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4
No versions listed
Red Hat Red Hat OpenShift Container Platform 5
No versions listed
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.