Bug 2538209 (CVE-2026-86805) - CVE-2026-86805 glibc: glibc: Privilege escalation and arbitrary code execution via TOCTOU race condition in dynamic loader
Summary: CVE-2026-86805 glibc: glibc: Privilege escalation and arbitrary code executio...
Keywords:
Status: NEW
Alias: CVE-2026-86805
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2580507
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-22 17:25 UTC by OSIDB Bzimport
Modified: 2026-11-21 13:01 UTC (History)
22 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:96219 0 None None None 2026-11-09 10:10:30 UTC
Red Hat Product Errata RHBA-2026:96249 0 None None None 2026-11-09 11:41:39 UTC
Red Hat Product Errata RHBA-2026:99108 0 None None None 2026-11-11 18:40:18 UTC
Red Hat Product Errata RHSA-2026:100646 0 None None None 2026-11-19 23:27:13 UTC
Red Hat Product Errata RHSA-2026:95618 0 None None None 2026-11-05 20:01:51 UTC
Red Hat Product Errata RHSA-2026:96087 0 None None None 2026-11-09 04:33:04 UTC
Red Hat Product Errata RHSA-2026:98512 0 None None None 2026-11-11 12:07:12 UTC
Red Hat Product Errata RHSA-2026:98599 0 None None None 2026-11-11 11:28:56 UTC

Description OSIDB Bzimport 2026-09-22 17:25:55 UTC
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.

Comment 2 Jon Orris 2026-11-05 20:01:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:95618 https://access.redhat.com/errata/RHSA-2026:95618

Comment 3 errata-xmlrpc 2026-11-09 04:33:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:96087 https://access.redhat.com/errata/RHSA-2026:96087

Comment 4 errata-xmlrpc 2026-11-11 11:28:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98599 https://access.redhat.com/errata/RHSA-2026:98599

Comment 5 errata-xmlrpc 2026-11-11 12:07:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:98512 https://access.redhat.com/errata/RHSA-2026:98512

Comment 6 errata-xmlrpc 2026-11-19 23:27:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.2 Extended Update Support

Via RHSA-2026:100646 https://access.redhat.com/errata/RHSA-2026:100646


Note You need to log in before you can comment on or make changes to this bug.