CVE-2026-137898
JSON

7.3high

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

Severity
7.3high CVSS:3.1 by redhat
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
pam-mainNot specified
Not affected: from 1.7.2-4.2.hum1 before *
CVE List
pamNot specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
openshift/ose-rhel-coreos-10Not specifiedCVE List

Classification

CWE-427

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137898 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-137898 changed 2026-12-01Public domain