CVE-2026-137898
7.3high
Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling
- Severity
- 7.3high CVSS:3.1 by redhat
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pam-main | Not specified Not affected: from 1.7.2-4.2.hum1 before * | CVE List |
| pam | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| openshift/ose-rhel-coreos-10 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137898 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-137898 changed 2026-12-01 | Public domain |