Local privilege escalation in linux-pam pam_econf via relative path
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-427.
Summary
The pam_econf configuration handler in linux-pam, when built with libeconf and an unconfigured vendor directory, misinterprets the search path and looks for configuration files in a relative directory under the current working directory. A local attacker with low privileges can place crafted environment configuration files in a world-writable location. If an administrator runs a privileged command from that directory, the malicious variables load into the privileged process, allowing local privilege escalation. The weakness is CWE-427.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Hardened Images | — | 1.7.2-4.2.hum1 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — | Not affected | CNA |
- Red Hat Hardened Images VendorRed Hat Affected — Fixed in 1.7.2-4.2.hum1 Patch available CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift Container Platform 4 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift Container Platform 4 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift Container Platform 5 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift Container Platform 5 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE names CNA · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:hummingbird:1 | 1 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:10 | 10 | — | Red Hat |
| cpe:/o:redhat:rhel_els:6 | 6 | — | Red Hat |
| cpe:/o:redhat:rhel_els:7 | 7 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:8 | 8 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:9 | 9 | — | Red Hat |
| cpe:/a:redhat:openshift:4 | 4 | — | Red Hat |
| cpe:/a:redhat:openshift:5 | 5 | — | Red Hat |
- cpe:/a:redhat:hummingbird:1 Versions 1 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:10 Versions 10 — ·Red Hat
- cpe:/o:redhat:rhel_els:6 Versions 6 — ·Red Hat
- cpe:/o:redhat:rhel_els:7 Versions 7 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:8 Versions 8 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:9 Versions 9 — ·Red Hat
- cpe:/a:redhat:openshift:4 Versions 4 — ·Red Hat
- cpe:/a:redhat:openshift:5 Versions 5 — ·Red Hat
Remediation
Update Red Hat Hardened Images to 1.7.2-4.2.hum1, which contains the fix. The sources list Red Hat Enterprise Linux 6, 7, 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 5 as not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Red Hat 1 advisory
- RHSA-2026:105294 Released 2026-11-30 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images pam-1.7.2-4.2.hum1@aarch64, pam-1.7.2-4.2.hum1@s390x, pam-1.7.2-4.2.hum1@src +10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Fixed | RHSA-2026:105294 |
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-27 Threatist record created from CVE-2026-137898
- 2026-11-27 Alias added: GHSA-mfg6-j8xv-3fvx
- 2026-11-30 CISA SSVC decision points changed
- 2026-12-01 Fix available: [email protected] · CNA
- 2026-12-01 1 new reference · CNA
- 2026-12-01 Fix available: RHSA-2026:105294 · Red Hat
- 2026-12-01 Fix available: Red Hat Hardened Images · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Sandbox bypass in Jenkins Pipeline: Groovy Plugin runs code KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Sandbox bypass in Jenkins Script Security Plugin allows code execution KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Arbitrary code execution in Kibana Timelion visualizer KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in OpenSLP in VMware ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-137898 · CVE Program
- CVE-2026-137898 · NVD
- FIRST EPSS
- GHSA-mfg6-j8xv-3fvx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-137898 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences