# CVE-2026-137898: Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-11-27T19:27:54.169Z
- Modified: 2026-12-01T07:17:17.117Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- pam-main: no versions given (not affected: from 1.7.2-4.2.hum1 before *)
- pam: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- openshift/ose-rhel-coreos-10: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:105294> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-137898> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2585412> (issue-tracking)
- <https://github.com/linux-pam/linux-pam/pull/1070>

## Sources

- CVE List: [CVE-2026-137898](https://www.cve.org/CVERecord?id=CVE-2026-137898), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137898](https://nvd.nist.gov/vuln/detail/CVE-2026-137898), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137898 · Whole record: https://cve.day/CVE-2026-137898.json · Rebuilt by cve.day 2026-12-01T07:32:13.218Z
