CVE-2026-137898

high

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.

References

https://github.com/linux-pam/linux-pam/pull/1070

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137510

https://bugzilla.redhat.com/show_bug.cgi?id=2585412

https://access.redhat.com/security/cve/CVE-2026-137898

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.3

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Severity: High