CVE-2026-137898
Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling
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.
INFO
Published Date :
Nov. 27, 2026, 7:27 p.m.
Last Modified :
Nov. 27, 2026, 7:27 p.m.
Remotely Exploit :
No
Source :
redhat
Affected Products
The following products are affected by CVE-2026-137898
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 53f830b8-0a3f-465b-8143-3b8a9948e749 | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Ensure libeconf is built with a configured vendor directory.
- Avoid running privileged commands from untrusted directories.
- Review and secure world-writable locations.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-137898 vulnerability anywhere in the article.