Read the docs

Local privilege escalation in linux-pam pam_econf via relative path

Priority LOW 34CWE-427Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0026 10th percentileScored 2026-11-30
Fix Fixed Red Hat: 1 advisory

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

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Hardened Images—1.7.2-4.2.hum1Patch availableCNA
Red HatRed Hat Enterprise Linux 10——Not affectedCNA
Red HatRed Hat Enterprise Linux 6——Not affectedCNA
Red HatRed Hat Enterprise Linux 7——Not affectedCNA
Red HatRed Hat Enterprise Linux 8——Not affectedCNA
Red HatRed Hat Enterprise Linux 9——Not affectedCNA
Red HatRed Hat OpenShift Container Platform 4——Not affectedCNA
Red HatRed Hat OpenShift Container Platform 4——Not affectedCNA
Red HatRed Hat OpenShift Container Platform 5——Not affectedCNA
Red HatRed Hat OpenShift Container Platform 5——Not affectedCNA
  • 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

CPEVersionsRoleVendor
cpe:/a:redhat:hummingbird:11—Red Hat
cpe:/o:redhat:enterprise_linux:1010—Red Hat
cpe:/o:redhat:rhel_els:66—Red Hat
cpe:/o:redhat:rhel_els:77—Red Hat
cpe:/o:redhat:enterprise_linux:88—Red Hat
cpe:/o:redhat:enterprise_linux:99—Red Hat
cpe:/a:redhat:openshift:44—Red Hat
cpe:/a:redhat:openshift:55—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 Important
    Red 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 →

ProductStatusPlan or fix
Red Hat Hardened ImagesFixed 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

  1. 2026-11-27 Threatist record created from CVE-2026-137898
  2. 2026-11-27 Alias added: GHSA-mfg6-j8xv-3fvx
  3. 2026-11-30 CISA SSVC decision points changed
  4. 2026-12-01 Fix available: [email protected] · CNA
  5. 2026-12-01 1 new reference · CNA
  6. 2026-12-01 Fix available: RHSA-2026:105294 · Red Hat
  7. 2026-12-01 Fix available: Red Hat Hardened Images · Red Hat

References

  • 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
See all 7600 →

Sources