GHSA-847x-vxjh-whpvMediumCVSS 5.3

A flaw was found in GLib2. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION...

Published
September 7, 2026
Last Modified
September 7, 2026

🔗 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)