Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling
CVE-2026-137898Published 27 Nov 2026, 19:27 UTC
Real-world risk
3.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Hardened ImagesCommon | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 19), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.35 × threat 0.852.975
- Rounded to one decimal between 0.1 and 103.0
Exploitation and evidence timeline
- 27 Nov 2026 Published
- 3 Dec 2026 Risk 3.0 (cvss fallback)
Weakness
CWE-427
References
- https://access.redhat.com/errata/RHSA-2026:105294redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-137898redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2585412issue-tracking, redhat
- https://github.com/linux-pam/linux-pam/pull/1070
- CVE-2026-137898 on CVE.org