CVE-2026-86469: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10
CVE-2026-86469 is a local vulnerability in GLib2 used by Red Hat Enterprise Linux 10. It occurs when g_file_replace() is called with G_FILE_CREATE_REPLACE_DESTINATION and the creation of a temporary file fails, causing the library to unlink and recreate the destination file without exclusive creation or symlink protection. This allows a local attacker with write access to the destination directory to win a race condition and redirect writes to an unintended file. Exploitation requires specific conditions including local access, directory write permissions, and winning a race. The vulnerability has a medium severity with a CVSS score of 5.3. Red Hat advises not to use g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION on paths in directories writable by less-privileged users. No official patch or fix status is confirmed yet.
AI Analysis
Technical Summary
A flaw in GLib2's g_file_replace() function when used with G_FILE_CREATE_REPLACE_DESTINATION can lead to a race condition if the temporary file creation fails. In this fallback path, the destination file is unlinked and recreated without exclusive creation or symlink protection, enabling a local attacker with write access to the destination directory to redirect writes to another file. This improper link resolution before file access (CWE-59) can allow overwriting or creating files the victim process is permitted to write, potentially impacting integrity and availability. Exploitation requires local access, write permissions on the directory, and winning a race condition. The usual g_file_replace() path that writes to a temp file first is not vulnerable. Red Hat has published an advisory but has not confirmed an official patch or remediation level yet.
Potential Impact
The vulnerability allows a local attacker with write access to the destination directory to exploit a race condition and redirect file writes to unintended files. This can lead to modification or creation of files that the victim process is allowed to write, impacting data integrity and potentially availability. Confidentiality is not affected. The attack complexity is high, requiring a race condition to be won, and privileges required are low. There is no indication of remote exploitation or user interaction needed.
Mitigation Recommendations
Red Hat advises not to use g_file_replace() with the G_FILE_CREATE_REPLACE_DESTINATION flag on paths located in directories writable by less-privileged users. This mitigates the risk by preventing attackers from controlling the directory where the race condition can be exploited. Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-86469 for updates on fixes or official remediation guidance.
CVE-2026-86469: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10
Description
CVE-2026-86469 is a local vulnerability in GLib2 used by Red Hat Enterprise Linux 10. It occurs when g_file_replace() is called with G_FILE_CREATE_REPLACE_DESTINATION and the creation of a temporary file fails, causing the library to unlink and recreate the destination file without exclusive creation or symlink protection. This allows a local attacker with write access to the destination directory to win a race condition and redirect writes to an unintended file. Exploitation requires specific conditions including local access, directory write permissions, and winning a race. The vulnerability has a medium severity with a CVSS score of 5.3. Red Hat advises not to use g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION on paths in directories writable by less-privileged users. No official patch or fix status is confirmed yet.
CVSS v3.1
Score 5.3medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A flaw in GLib2's g_file_replace() function when used with G_FILE_CREATE_REPLACE_DESTINATION can lead to a race condition if the temporary file creation fails. In this fallback path, the destination file is unlinked and recreated without exclusive creation or symlink protection, enabling a local attacker with write access to the destination directory to redirect writes to another file. This improper link resolution before file access (CWE-59) can allow overwriting or creating files the victim process is permitted to write, potentially impacting integrity and availability. Exploitation requires local access, write permissions on the directory, and winning a race condition. The usual g_file_replace() path that writes to a temp file first is not vulnerable. Red Hat has published an advisory but has not confirmed an official patch or remediation level yet.
Potential Impact
The vulnerability allows a local attacker with write access to the destination directory to exploit a race condition and redirect file writes to unintended files. This can lead to modification or creation of files that the victim process is allowed to write, impacting data integrity and potentially availability. Confidentiality is not affected. The attack complexity is high, requiring a race condition to be won, and privileges required are low. There is no indication of remote exploitation or user interaction needed.
Mitigation Recommendations
Red Hat advises not to use g_file_replace() with the G_FILE_CREATE_REPLACE_DESTINATION flag on paths located in directories writable by less-privileged users. This mitigates the risk by preventing attackers from controlling the directory where the race condition can be exploited. Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-86469 for updates on fixes or official remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-07T14:38:45.692Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-86469","vendor":"Red Hat"}]
Threat ID: 6a9ee18dacd9273b49e68b2e
Added to database: 09/07/2026, 16:08:45 UTC
Last enriched: 09/07/2026, 16:23:10 UTC
Last updated: 09/08/2026, 00:19:47 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.