# CVE-2026-86805: AT\_SECURE programs may load attacker-controlled code via $ORIGIN

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.10% (percentile 0, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2026-09-22T15:55:17.117Z
- **Modified:** 2026-09-23T04:17:57.137Z

## Who should check

- Anyone running The GNU C Library glibc \>= 2.14, \< 2.45

## Description

A time-of-check to time-of-use (TOCTOU) race condition in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to escalate privileges. When expanding $ORIGIN in DT\_RPATH for setuid/setgid (AT\_SECURE) programs, glibc validates the lexically normalized search path against the trusted directories but then opens the raw, un-normalized path. On systems where the Linux fs.protected\_hardlinks sysctl is disabled, a local attacker who hard-links such a program into an attacker-controlled directory and wins a race to replace an intermediate path component with a symbolic link can direct the loader outside the trusted directory, causing it to load an attacker-controlled shared object and execute arbitrary code with the elevated privileges of the program.

Exploitation requires an installed setuid or setgid binary whose DT\_RPATH uses $ORIGIN followed by ".." traversal that normalizes into a trusted directory, and the ability to hard-link that binary and win the race by swapping a path component for a symbolic link. Major Linux-based OS distributions ship with fs.protected\_hardlinks enabled by default and mitigate the vulnerability.

## Affected and fixed versions

- The GNU C Library glibc: \>= 2.14, \< 2.45 (cvelist)

## Mitigation

- Upgrade glibc to 2.45 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-86805. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-86805.md
Affected: The GNU C Library glibc >= 2.14, < 2.45
Fixed in: The GNU C Library glibc 2.45

Steps:
1. Search this machine and project for The GNU C Library glibc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-86805 being exploited?

There is no confirmed exploitation: CVE-2026-86805 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.10% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-86805?

Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

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

The GNU C Library glibc \>= 2.14, \< 2.45.

### Is there a fix for CVE-2026-86805?

Yes. Fixed in The GNU C Library glibc 2.45. Upgrade glibc to 2.45 or later.

### How do I check if I'm affected by CVE-2026-86805?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0022>
- other: <https://sourceware.org/bugzilla/show_bug.cgi?id=34360>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-86805>

HTML: <https://flawdb.com/CVE-2026-86805> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-86805>
