Uncontrolled Search Path Element Affecting pam package, versions <1.7.0-5+e6


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.26% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PAM-23049925
  • published29 Nov 2026
  • disclosed27 Nov 2026

Introduced: 27 Nov 2026

NewCVE-2026-137898  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade Echo:latest pam to version 1.7.0-5+e6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam package and not the pam package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1