CVE Catalog

CVE-2026-86469

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

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.

Risk Assessment

The risk is the possibility of overwriting or corrupting files that the victim has write permissions to, which could lead to privilege escalation or data integrity compromise.

Recommendation

It is recommended to update GLib2 to the latest version containing the fix and avoid using g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION in critical scenarios.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS