CVE-2026-86469

medium

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

https://gitlab.gnome.org/GNOME/glib/-/work_items/4044

https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/glocalfileoutputstream.c

https://bugzilla.redhat.com/show_bug.cgi?id=2473839

https://access.redhat.com/security/cve/CVE-2026-86469

Details

Source: Mitre, NVD

Published: 2026-09-07

Updated: 2026-09-07

Risk Information

CVSS v2

Base Score: 4.5

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:C/A:P

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L

Severity: Medium