CVE-2026-137898: Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling
Vulnerability summary
CVE-2026-137898 is a high (CVSS 7.3) Uncontrolled Search Path Element vulnerability in pam. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.2% of scored vulnerabilities.
Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 27-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
- pam< 0:1.7.2-4.2.hum1
- pam-devel< 0:1.7.2-4.2.hum1
- pam-doc< 0:1.7.2-4.2.hum1
- pam-libs< 0:1.7.2-4.2.hum1
Debian1 product
- pamAll versions (No fix recorded)
Ubuntu1 product
- pamAll versions (No fix recorded)
3 vendors · 6 products
References
11 links- images.redhat.comARTICLE