Skip to content
CVE-2026-137898: Linux-PAM pam_econf local privilege escalation via relative config path

CVE-2026-137898: Linux-PAM pam_econf local privilege escalation via relative config path

First seen 28 Nov 2026, 07:49 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 28, 2026 at 07:50 UTC
  • •Local privilege escalation to root in Linux-PAM pam_econf when built with libeconf and an unconfigured vendor directory
  • •Exploitation requires an administrator to run a privileged command from an attacker-writable directory
  • •Standard Red Hat Enterprise Linux releases are reported as not affected
  • •Red Hat reports no mitigation meeting its criteria; the advice is to avoid privileged commands from untrusted writable directories
  • •CVSS 7.3 (HIGH); no exploitation status is reported in the sources

A flaw in Linux-PAM was found where, when built with libeconf and an unconfigured vendor directory, the pam_econf handler resolves configuration files to a relative directory within the current working directory.

Red Hat reports that a local attacker could place crafted environment configuration files in a world-writable location, and if an administrator runs a privileged command such as sudo from that directory, the malicious variables are loaded into the privileged process, allowing an unprivileged user to gain root.

Red Hat rates the issue Important and states that standard Red Hat Enterprise Linux releases are not affected because the shipped Linux-PAM packages do not include the vulnerable libeconf integration. Red Hat says mitigation is either not available or does not meet its criteria.

Redpacketsecurity advises treating it as a targeted local privilege-escalation risk in confirmed affected images, prioritising hardened images that use libeconf with an absent or empty vendor directory.

Interim advice is to avoid running privileged commands from untrusted or shared writable directories and to restrict write access to operator working directories. The CVE is tracked as Bugzilla 2585412 and CWE-427. CVSS is 7.3 (HIGH).

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-27
CVE-2026-137898 published
The CVE was published with a CVSS score of 7.3 (HIGH), and Red Hat tracks it as Bugzilla 2585412.
access.redhat.com
2026-11-28
Advisories reporting the flaw published
Redpacketsecurity and Red Hat's CVE page both published descriptions of the local privilege-escalation flaw.
Redpacketsecurity

More articles in this cluster (4)

Following this threat?

Track Red Hat and CVE-2026-137898 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
Red Hat states standard Red Hat Enterprise Linux releases are not affected, since the shipped Linux-PAM packages lack the vulnerable libeconf integration. Custom or hardened images built with libeconf and an unconfigured vendor directory may be affected.
How urgent is this?
The CVSS is 7.3 (HIGH) and the sources report no active exploitation or public PoC. Exploitation requires local access and an administrator running a privileged command from an attacker-writable directory.
What should we do first?
Confirm exposure against Red Hat's advisory, deploy the corrected package when available, and until then avoid running privileged commands from untrusted or shared writable directories.