CVE-2026-137898
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | pam |
Affected | — |
| sid | pam |
Affected | — |
| forky | pam |
Affected | — |
| bookworm | pam |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://access.redhat.com/security/cve/CVE-2026-137898
- https://bugzilla.redhat.com/show_bug.cgi?id=2585412
- https://github.com/linux-pam/linux-pam/pull/1070
- https://security-tracker.debian.org/tracker/CVE-2026-137898
- https://www.suse.com/security/cve/CVE-2026-137898.html
- https://access.redhat.com/errata/RHSA-2026:105294
CWEs
CWE-427
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.