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
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-07 16:17
Updated : 2026-09-08 19:08
NVD link : CVE-2026-86469
Mitre link : CVE-2026-86469
CVE.ORG link : CVE-2026-86469
JSON object : View
Products Affected
No product.
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
