What is CVE-2026-137898?
CVE-2026-137898 is a high-severity privilege escalation vulnerability in pam, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-427
How severe is CVE-2026-137898?
CVE-2026-137898 scores 7.3 out of 10 under CVSS 3.1, which is high severity. It was scored by Red Hat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Which versions are affected by CVE-2026-137898?
It affects 1 product.
Only installations with a non-default setting turned on are exposed.
Status by vendor 6
| Who | Release | Status | Packages |
|---|---|---|---|
| Red Hat | 8 | not affected | pam, pam-develpkg:rpm/redhat/pam?distro=rhel-8pkg:rpm/redhat/pam-devel?distro=rhel-8 |
| Red Hat | 9 | not affected | pam, pam-devel, pam-docspkg:rpm/redhat/pam?distro=rhel-9pkg:rpm/redhat/pam-devel?distro=rhel-9pkg:rpm/redhat/pam-docs?distro=rhel-9 |
| Red Hat | 10 | not affected | pam, pam-devel, pam-libspkg:rpm/redhat/pam?distro=rhel-10pkg:rpm/redhat/pam-devel?distro=rhel-10pkg:rpm/redhat/pam-libs?distro=rhel-10 |
| Red Hat | els/6 | not affected | pam, pam-develpkg:rpm/redhat/pam?distro=rhel-6pkg:rpm/redhat/pam-devel?distro=rhel-6 |
| Red Hat | els/7 | not affected | pam, pam-develpkg:rpm/redhat/pam?distro=rhel-7pkg:rpm/redhat/pam-devel?distro=rhel-7 |
| Red Hat | hummingbird:1 | affected | pampkg:rpm/redhat/pam |
Products include Redhat Hummingbird.
CPE match criteria 1
| CPE 2.3 | Versions |
|---|---|
cpe:2.3:a:redhat:hummingbird:1:*:*:*:*:*:*:* | 1 |
How do I fix CVE-2026-137898?
No fix has been published for CVE-2026-137898 yet. Limit exposure of the affected software until one is available.
Upgrade, and run services with the fewest rights they need. More about Privilege escalation.
Is CVE-2026-137898 being exploited?
There is no known exploitation of CVE-2026-137898 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-137898, ECHO-5132-31fc-2665, GHSA-mfg6-j8xv-3fvx.