Glib2: toctou symlink race in `g_file_create_replace_destination` fallback path
Historical advisory recorded 2 Nov 2026 09:57:17 UTC. Read the latest advisory.
cve-program · CVE-2026-86469
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
cve-program · CVE-2026-86469
PublishedGlib2: toctou symlink race in `g_file_create_replace_destination` fallback path
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.
- Source published
- 7 Sep 2026 16:00:13 UTC
- Source modified
- 2 Nov 2026 08:33:44 UTC
- Saved here
- 2 Nov 2026 09:57:17 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 5.3 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L