CVE-2026-86469

Glib2: toctou symlink race in `g_file_create_replace_destination` fallback path

State
Published
Severity
5.3 Medium
Published
Sep 7, 2026
Updated
Nov 2, 2026
Reserved
Sep 7, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:Lredhat

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 6Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 8Red Hat
            Red Hat Enterprise Linux 8Red Hat
              Red Hat Enterprise Linux 9Red Hat
                Red Hat Enterprise Linux 9Red Hat
                  Red Hat Hardened ImagesRed Hat
                    Red Hat OpenShift Container Platform 4Red Hat
                      Red Hat OpenShift Container Platform 4Red Hat
                        Red Hat OpenShift Container Platform 5Red Hat

                          References

                          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.