CVE-2026-137898

7.3High

Published Nov 27, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.3CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
Low
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-427

What an attacker gets

Local attackers can gain root privileges by placing malicious configuration files in a directory where a privileged user runs commands. This requires a user with privileges to execute a command from a directory containing the attacker's files.

Root cause

The pam_econf module incorrectly resolves configuration file paths relative to the current working directory when the vendor directory is unconfigured.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Update the linux-pam package to the version provided by your distribution. Avoid running privileged commands from untrusted or world-writable directories.

remediation — bash
$ sudo yum update pam

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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

Source: nvd.nist.gov/vuln/detail/CVE-2026-137898

More fully triaged vulnerabilities you may want to check next.