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

Vulnerability · Reported by NVD ·

Severity
High Estimated, NVD hasn't scored it yet
CVSS
– Not scored yet
Exploit chance (EPSS)
0.26% Higher than 11% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

Is it being exploited?

The EPSS model estimates a 0.26% chance this CVE will be exploited in the next 30 days, which is low and higher than 11% of all published CVEs.

Patch priority and what to do

Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.

Tags

priv-esc, CVE-2026-137898, Linux

Sources & references

NVD has not scored this CVE yet. The severity shown is an estimate from the article text and will be replaced automatically.

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.