GHSA-847x-vxjh-whpvMediumCVSS 5.3
A flaw was found in GLib2. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-86469
- https://access.redhat.com/security/cve/CVE-2026-86469
- https://bugzilla.redhat.com/show_bug.cgi?id=2473839
- https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/glocalfileoutputstream.c
- https://gitlab.gnome.org/GNOME/glib/-/work_items/4044
- https://github.com/advisories/GHSA-847x-vxjh-whpv