Vulnerability · Published Sep 7, 2026 · Assigned by redhat
CVE-2026-86469Glib2: toctou symlink race in `g_file_create_replace_destination` fallback path
Medium 5.3
In plain English
A medium-severity security flaw in Red Hat Enterprise Linux 10 from Red Hat. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | glib2.0 | no fix listed | DEBIAN-CVE-2026-86469 |
| Debian:13 | glib2.0 | no fix listed | DEBIAN-CVE-2026-86469 |
| Debian:14 | glib2.0 | no fix listed | DEBIAN-CVE-2026-86469 |
| Ubuntu:22.04:LTS | glib2.0 | no fix listed | UBUNTU-CVE-2026-86469 |
| Ubuntu:24.04:LTS | glib2.0 | no fix listed | UBUNTU-CVE-2026-86469 |
| Ubuntu:26.04:LTS | glib2.0 | no fix listed | UBUNTU-CVE-2026-86469 |
| Ubuntu:26.10 | glib2.0 | no fix listed | UBUNTU-CVE-2026-86469 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 5 | see references |
Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
References
- https://access.redhat.com/security/cve/CVE-2026-86469 vdb-entry, x_refsource_REDHAT
- RHBZ#2473839 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/glocalfileoutputstream.c
- https://gitlab.gnome.org/GNOME/glib/-/work_items/4044