Glib2.0: A flaw was found in GLib2. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION and creating the .goutputstream-XXXXXX temporary… (CVE-2026-86469)
Description
A vulnerability in GLib2's g_file_replace() function occurs when used with G_FILE_CREATE_REPLACE_DESTINATION. If creating the temporary .goutputstream-XXXXXX file fails, the library unlinks the destination file and recreates it without exclusive creation or symlink protection. This allows a local attacker with write access to the destination directory to perform a race condition and redirect writes to an unintended file.
CVSS v3.1
Score 5.3medium
Affected software
pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/glib2.0?arch=source&distro=jammypkg:deb/ubuntu/glib2.0?arch=source&distro=noblepkg:deb/ubuntu/glib2.0?arch=source&distro=resolutepkg:deb/ubuntu/glib2.0?arch=source&distro=stonkingRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-86469 describes a flaw in GLib2 where the g_file_replace() function, when invoked with the G_FILE_CREATE_REPLACE_DESTINATION flag, mishandles failure in creating the temporary .goutputstream-XXXXXX file. Specifically, the library unlinks the destination file and recreates it without safeguards such as exclusive creation or symlink protection. This creates a race condition that a local attacker with write permissions to the destination directory can exploit to redirect file writes to arbitrary files.
Potential Impact
The vulnerability allows a local attacker with write access to the destination directory to exploit a race condition to redirect file writes to other files. This can lead to unauthorized file modification or corruption. The CVSS score is 5.3 (medium severity), indicating limited impact confined to local privilege scenarios with high attack complexity and requiring low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local write permissions to directories where g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION to trusted users only to reduce the risk of exploitation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-847x-vxjh-whpv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-86469"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9f9117acd9273b49ff2d1e
Added to database: 09/08/2026, 04:37:43 UTC
Last enriched: 10/18/2026, 10:21:16 UTC
Last updated: 10/23/2026, 15:12:05 UTC
Views: 125
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.