Glib2: toctou symlink race in `g_file_create_replace_destination` fallback path
- CVE-2026-86469
- GHSA-847x-vxjh-whpv
- EUVD-2026-72488
Description
A flaw was found in GLib2. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION and creating the .goutputstream-XXXXXX temporary file fails, the library unlinks the destination and recreates it without exclusive creation or symlink protection. A local attacker who can write to the destination directory can win that race and redirect the write to another file.
Text from the CVE.org record.
Affected
Red Hat Red Hat Enterprise Linux 10
- No versions listed
Red Hat Red Hat Enterprise Linux 6
- No versions listed
Red Hat Red Hat Enterprise Linux 7
- No versions listed
Red Hat Red Hat Enterprise Linux 8
- No versions listed
Red Hat Red Hat Enterprise Linux 9
- No versions listed
Red Hat Red Hat Hardened Images
- No versions listed
Red Hat Red Hat OpenShift AI (RHOAI)
- No versions listed
Red Hat Red Hat OpenShift Container Platform 4
- No versions listed
Red Hat Red Hat OpenShift Container Platform 5
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.