# CVE-2026-86469: Glib2: toctou symlink race in `g_file_create_replace_destination` fallback path

Status: published. Published: 2026-09-07. Updated: 2026-11-02.

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.

## Remediation

- workaround: Do not use g_file_replace(..., G_FILE_CREATE_REPLACE_DESTINATION) on paths in directories writable by less-privileged users. (source: CNA: redhat)

## Affected products and versions

- Red Hat / Red Hat Enterprise Linux 10 (glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (mingw-glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (mingw-glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (mingw-glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Hardened Images (glib2): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 5 (openshift/ose-rhel-coreos-9): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L; source: CNA: redhat

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 0.14% as of 2026-11-01; percentile 3.40%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-59

## Exploit evidence

- exploit: https://gitlab.gnome.org/GNOME/glib/-/work_items/4044 (ADP: CISA-ADP)

## References

- https://access.redhat.com/security/cve/CVE-2026-86469 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2473839 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/glocalfileoutputstream.c (CNA: redhat)

- https://gitlab.gnome.org/GNOME/glib/-/work_items/4044 (CNA: redhat)

- https://gitlab.gnome.org/GNOME/glib/-/work_items/4044 (ADP: CISA-ADP; exploit)

- https://access.redhat.com/security/cve/CVE-2026-86469 (secalert@redhat.com)

- https://bugzilla.redhat.com/show_bug.cgi?id=2473839 (secalert@redhat.com)

- https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/glocalfileoutputstream.c (secalert@redhat.com)

- https://gitlab.gnome.org/GNOME/glib/-/work_items/4044 (secalert@redhat.com)

- https://gitlab.gnome.org/GNOME/glib/-/work_items/4044 (134c704f-9b21-4f2e-91b3-4a467353bcc0)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-86469; retrieved 2026-11-02; source updated 2026-11-02

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-86469; retrieved 2026-11-02; source updated 2026-11-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-86469; retrieved 2026-11-02; source updated Not reported

Revision: c5b861984ce9e688abab980005d0f7b1ecd29bc65f5e64dc4b9bdfd43628cc08

Canonical: https://y2.dev/cve/CVE-2026-86469