Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user account
-
DeliveryPlant crafted econf files in world-writable working directory
-
ExploitAdministrator runs privileged PAM command from that directory
-
Executionpam_econf loads attacker variables into privileged process
-
ImpactEscalate to root privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Exploitation Conditions | Requires a specific non-default build and configuration: PAM compiled with libeconf support AND an unconfigured vendor directory, which causes pam_econf to misread its search path and look for configuration in a relative directory under the current working directory. The attacker must (1) already hold a local account and (2) have write access to a world-writable location matching that relative search path, where they plant crafted econf environment files. Exploitation only fires when an administrator subsequently executes a privileged PAM-using command while their working directory is that attacker-controlled location (UI:R). Limiting factors that reduce real-world risk: local access only (no remote vector), the dependence on administrator interaction/behavior, and the requirement that PAM be built with libeconf and left with an unconfigured vendor directory rather than a hardened default. |
| Impact | This is a genuine but conditional local privilege escalation, not a drop-everything emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, base 7.3 High) tells a consistent story with the description: exploitation is local only (AV:L), needs an already-present low-privileged local account (PR:L), and critically depends on a second actor - an administrator must run a privileged PAM-using command while their working directory is the attacker-controlled location (UI:R). The full C:H/I:H/A:H impact reflects that success yields root-equivalent control. No CISA KEV listing is present in the input and no EPSS score was supplied, so widespread or automated exploitation is not evidenced; the vuln.today Decision label is 'this_week', consistent with a serious issue to patch promptly rather than act_now/emergency. No public exploit is indicated - the only GitHub reference is the upstream fix PR (linux-pam #1070), which is remediation code, not an attack PoC. Net: a real, high-impact LPE whose practical risk is tempered by the local-access requirement, the dependence on administrator behavior (UI:R), and the non-default build/configuration prerequisite (libeconf with an unconfigured vendor directory). EPSS data is missing from the input, so probabilistic exploitation likelihood cannot be stated. |
| Exploit ScenarioDerived | A local user with a shell account creates crafted pam_econf environment configuration files inside a world-writable directory (for example /tmp) that corresponds to the relative path pam_econf mistakenly searches. When an administrator later invokes a privileged, PAM-backed command while their current working directory is that location, pam_econf loads the attacker's variables into the privileged process, escalating the local user to root. No public exploit code is identified at time of analysis; only the upstream fix PR is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Local privilege escalation in Linux-PAM installations that are compiled against libeconf and left with an unconfigured vendor configuration directory: under that specific build and configuration, the pam_econf handler builds a configuration search path that resolves to a relative directory inside the process's current working directory. A local attacker who can write to a matching world-writable location plants crafted econf environment files there, and if an administrator then runs a privileged PAM-using command from that directory the attacker-supplied variables are loaded into the privileged process, yielding escalation from a normal account to root-level privileges. The assessed vector is CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H (7.3), reflecting local access only and a required administrator action; there is no CISA KEV entry and no public exploit identified at time of analysis, while an upstream pull request addressing the search-path construction exists. Priority is to fold the fix into the current week's patch cycle rather than treat it as an emergency.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the correction is in linux-pam pull request 1070 (https://github.com/linux-pam/linux-pam/pull/1070), which stops emitting an empty PARSING_DIRS element when usr_conf_dir is unset, so track the corresponding PAM package updates in the Red Hat advisory https://access.redhat.com/security/cve/CVE-2026-137898 and Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2585412 and apply them per branch once errata are published. Because the defect only manifests with an unconfigured vendor directory, building PAM with an explicit vendor configuration directory is the direct way to remove the precondition, at the cost of pinning that build configuration and losing default libeconf layout behavior. As a behavioral control consistent with the described exploitation path, avoid running privileged PAM-using commands from world-writable directories and keep administrator working directories out of attacker-writable locations; this blocks the current-working-directory lookup but relies on operator discipline rather than a code fix and does not repair the underlying path construction. Local accounts with write access to world-writable paths should be reviewed as part of the same effort, since that write access is the attacker-side prerequisite.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw sits in libpam_internal/pam_econf.c, the shim that lets Linux-PAM read its configuration through libeconf. pam_econf_readconfig() assembles an econf PARSING_DIRS variable from a user configuration directory and the system /etc directory so libeconf knows where to look for .conf files. When the build enables libeconf and no vendor directory is configured, the user-directory component is unset, and the string is still assembled with a separator, so the resulting search path contains an element that libeconf resolves relative to the current working directory instead of an absolute system path. That is the classic CWE-427 (Uncontrolled Search Path Element) pattern: a privileged process trusts a path component the attacker can influence. The supplied upstream diff for PR linux-pam/linux-pam#1070 reworks the pam_asprintf call so the user directory element and its ':' separator are only emitted when usr_conf_dir is actually set, leaving a clean absolute search path otherwise. The exact libeconf parsing semantics that turn the empty element into a relative lookup, and whether every affected build behaves identically, are not described in the available sources; the trigger is only characterized as the unconfigured-vendor-directory case. Severity is uniform - scope unchanged, no confidentiality/integrity/availability asymmetry - but the prerequisites are narrow: libeconf-enabled build, unconfigured vendor directory, local account, write access to the colliding location, and an administrator executing a privileged command from that directory.
Know when Red Hat Enterprise Linux 10 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Local-only LPE needing an existing low-priv account (PR:L) and requiring an admin to run a privileged command from the attacker's directory (UI:R); successful loading of variables into the root process yields full C/I/A.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
A high-severity local privilege escalation vulnerability in Linux-PAM installations compiled with libeconf and lacking a configured vendor configuration directory could allow an attacker with a normal user account to gain root privileges when an administrator executes a privileged PAM-using command from a world-writable directory. This poses a significant risk to organizations relying on such Linux-PAM configurations, as it enables complete compromise of affected systems. Leadership should prioritize remediation due to the potential for full system takeover and data breach.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting write access to world-writable directories, ensuring administrators execute privileged commands from non-world-writable directories, and monitoring for suspicious econf environment file creation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)CVE.org
More in Red Hat Enterprise Linux 10
View allHeap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash
Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h
Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft
Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to
Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe
The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe
Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo
Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter
Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a
A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes
EUVD-2026-137510
GHSA-mfg6-j8xv-3fvx
NVD
CVE.org
EPSS
VulDB
Exploit-DB