CVE-2026-86805
AT_SECURE programs may load attacker-controlled code via $ORIGIN
Mitigation
- Upgrade glibc to 2.45 or later.
Who should check
- Anyone running The GNU C Library glibc >= 2.14, < 2.45
Vulnerability facts
- Affected
- The GNU C Library glibc >= 2.14, < 2.45
- Fixed in
- The GNU C Library glibc 2.45
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.10% chance of exploitation in 30 days (percentile 0, 2026-11-26)
- CWE
- CWE-367
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| The GNU C Library glibc | >= 2.14, < 2.45 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
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.