CVE-2026-137898
CVE-2026-137898 · Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling
CVSS 7.3 · High · EPSS 0.3%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- red hat hardened imagesNo fix published
- red hat enterprise linux 10No fix published
- red hat enterprise linux 6No fix published
- red hat enterprise linux 7No fix published
- and 7 more
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:105294 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
red hat hardened images
- Versions
- ≥ 1.7.2-4.2.hum1: Not affected (rpm)
No fix published
red hat enterprise linux 10
No fix published
red hat enterprise linux 6
No fix published
red hat enterprise linux 7
No fix published
red hat enterprise linux 8
No fix published
red hat enterprise linux 9
No fix published
red hat openshift container platform 4
No fix published
red hat openshift container platform 5
No fix published
pam Debian 12
- Versions
- 1.5.2-6
- 1.5.2-6+deb12u1
- 1.5.2-6+deb12u2
- 1.5.2-6+deb12u3
- 1.5.2-7
- 1.5.2-8
All versions (25)
- 1.5.2-9
- 1.5.2-9.1
- 1.5.3-1
- 1.5.3-2
- 1.5.3-3
- 1.5.3-4
- 1.5.3-5
- 1.5.3-6
- 1.5.3-6+hurd.1
- 1.5.3-7
- 1.7.0-1
- 1.7.0-2
- 1.7.0-2+hurd.1
- 1.7.0-3
- 1.7.0-4
- 1.7.0-5
- 1.7.0-6
- 1.7.0-7
- 1.7.0-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pam Debian 13
- Versions
- 1.7.0-5
- 1.7.0-6
- 1.7.0-7
- 1.7.0-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pam Debian 14
- Versions
- 1.7.0-5
- 1.7.0-6
- 1.7.0-7
- 1.7.0-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published