# CVE-2026-137898: Privilege escalation in Red Hat Enterprise Linux 10

> Local attackers can plant environment config files in a world-writable directory so pam_econf loads them when an admin runs a privileged command.

- **Severity:** High 7.3 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** No
- **Published:** 27 Nov 2026
- **Updated:** 27 Nov 2026
- **Also known as:** DEBIAN-CVE-2026-137898, ECHO-5132-31fc-2665, GHSA-mfg6-j8xv-3fvx

## What is CVE-2026-137898?

CVE-2026-137898 is a high-severity privilege escalation vulnerability in pam, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

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.

Weakness: CWE-427 (Uncontrolled Search Path Element)

## Which versions are affected by CVE-2026-137898?

It affects 1 product.

Only installations with a non-default setting turned on are exposed.


Products: Redhat Hummingbird.

CPE match criteria (CPE 2.3):

- `cpe:2.3:a:redhat:hummingbird:1:*:*:*:*:*:*:*`

Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | 8 | not affected | `pam`, `pam-devel` |  |
| Red Hat | 9 | not affected | `pam`, `pam-devel`, `pam-docs` |  |
| Red Hat | 10 | not affected | `pam`, `pam-devel`, `pam-libs` |  |
| Red Hat | els/6 | not affected | `pam`, `pam-devel` |  |
| Red Hat | els/7 | not affected | `pam`, `pam-devel` |  |
| Red Hat | hummingbird:1 | affected | `pam` |  |

## How do I fix CVE-2026-137898?

No fix has been published for CVE-2026-137898 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-137898 being exploited?

There is no known exploitation of CVE-2026-137898 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-137898 and fix it if it is affected.

What it is: CVE-2026-137898 is a high-severity privilege escalation vulnerability in pam, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-137898 in the wild and no public exploit code.
Exposure: Only installations with a non-default setting turned on are exposed.

Affected product: pam. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-137898/ (Markdown: https://insights.sbomify.com/CVE-2026-137898/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-137898
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-137898
- OSV: https://osv.dev/vulnerability/CVE-2026-137898

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-137898/
Summaries are generated and may contain mistakes; the official description above is the record.
