Skip to content
OpenAdvisories
High · 7.3 CVE-2026-137898 EUVD-2026-137510GHSA-mfg6-j8xv-3fvx

Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling

Published Nov 27, 2026 · Updated Nov 30, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat OpenShift Container Platform 4 — —
Red Hat Red Hat OpenShift Container Platform 5 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pam No fix yet —
Debian 13 pam No fix yet —
Debian 12 pam No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pam No fix yet —
Ubuntu 26.04 LTS pam No fix yet —
Ubuntu 24.04 LTS pam No fix yet —
Ubuntu 22.04 LTS pam No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS pam No fix yet —
Ubuntu Pro 18.04 LTS pam No fix yet —
Ubuntu Pro 16.04 LTS pam No fix yet —
Ubuntu Pro 14.04 LTS pam No fix yet —

Advisories 1

References