Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local user account
  2. Delivery
    Plant crafted econf files in world-writable working directory
  3. Exploit
    Administrator runs privileged PAM command from that directory
  4. Execution
    pam_econf loads attacker variables into privileged process
  5. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.3 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.3 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 89% exploitable
Prevalence
Ubiquitous
PAM is core authentication middleware on virtually all Linux hosts, including listed RHEL/OpenShift
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_hardened_images:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_5:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_5:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-5121 CRITICAL
9.8 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy