Skip to main content
EPSS 0.1%top 97%

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)

0
Medium
Published: 09/07/2026 (09/07/2026, 16:17:00 UTC)
Source: GCVE Database
Product: glib2.0

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

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=2.38.0-1ubuntu1=2.38.1-1=2.39.1-0ubuntu1=2.39.1-0ubuntu2=2.39.1-0ubuntu3=2.39.2-0ubuntu1=2.39.2-0ubuntu2=2.39.3-0ubuntu4=2.39.4-0ubuntu1=2.39.90-0ubuntu1=2.39.91-0ubuntu2=2.39.91-0ubuntu3=2.39.92-2=2.40.0-1=2.40.0-1ubuntu1=2.40.0-2=2.40.2-0ubuntu1=2.40.2-0ubuntu1.1=2.40.2-0ubuntu1.1+esm1=2.40.2-0ubuntu1.1+esm2=2.40.2-0ubuntu1.1+esm3=2.40.2-0ubuntu1.1+esm4=2.40.2-0ubuntu1.1+esm6=2.40.2-0ubuntu1.1+esm7=2.40.2-0ubuntu1.1+esm8
Ubuntu:Pro:16.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=2.46.1-1=2.46.1-2=2.47.1-1=2.47.3-3=2.47.4-1=2.47.5-1=2.47.6-1=2.48.0-1ubuntu3=2.48.0-1ubuntu4=2.48.1-1~ubuntu16.04.1=2.48.2-0ubuntu1=2.48.2-0ubuntu3=2.48.2-0ubuntu4=2.48.2-0ubuntu4.1=2.48.2-0ubuntu4.2=2.48.2-0ubuntu4.3=2.48.2-0ubuntu4.4=2.48.2-0ubuntu4.5=2.48.2-0ubuntu4.6=2.48.2-0ubuntu4.7=2.48.2-0ubuntu4.8=2.48.2-0ubuntu4.8+esm1=2.48.2-0ubuntu4.8+esm3=2.48.2-0ubuntu4.8+esm4=2.48.2-0ubuntu4.8+esm5=2.48.2-0ubuntu4.8+esm6
Ubuntu:Pro:18.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra/bionic
Affected versions
=2.54.1-1ubuntu1=2.55.2-2ubuntu1=2.56.0-2ubuntu1=2.56.0-4ubuntu1=2.56.1-2ubuntu1=2.56.2-0ubuntu0.18.04.1=2.56.2-0ubuntu0.18.04.2=2.56.3-0ubuntu0.18.04.1=2.56.4-0ubuntu0.18.04.2=2.56.4-0ubuntu0.18.04.3=2.56.4-0ubuntu0.18.04.4=2.56.4-0ubuntu0.18.04.5=2.56.4-0ubuntu0.18.04.6=2.56.4-0ubuntu0.18.04.7=2.56.4-0ubuntu0.18.04.8=2.56.4-0ubuntu0.18.04.9=2.56.4-0ubuntu0.18.04.9+esm3=2.56.4-0ubuntu0.18.04.9+esm4=2.56.4-0ubuntu0.18.04.9+esm5=2.56.4-0ubuntu0.18.04.9+esm6
Ubuntu:Pro:20.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra/focal
Affected versions
=2.62.1-1=2.63.1-2=2.63.1-2ubuntu1=2.63.3-1=2.63.3-3=2.63.5-2=2.64.0-1=2.64.1-1=2.64.2-1~fakesync1=2.64.3-1~ubuntu20.04.1=2.64.6-1~ubuntu20.04.1=2.64.6-1~ubuntu20.04.2=2.64.6-1~ubuntu20.04.3=2.64.6-1~ubuntu20.04.4=2.64.6-1~ubuntu20.04.6=2.64.6-1~ubuntu20.04.7=2.64.6-1~ubuntu20.04.8=2.64.6-1~ubuntu20.04.9=2.64.6-1~ubuntu20.04.9+esm1=2.64.6-1~ubuntu20.04.9+esm2
Ubuntu:22.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=jammy
Affected versions
=2.68.4-1ubuntu1=2.70.1-1=2.70.2-1=2.71.0-2=2.71.1-1=2.71.2-1=2.71.3-1=2.72.0-1=2.72.1-1=2.72.4-0ubuntu1=2.72.4-0ubuntu2=2.72.4-0ubuntu2.2=2.72.4-0ubuntu2.3=2.72.4-0ubuntu2.4=2.72.4-0ubuntu2.5=2.72.4-0ubuntu2.6=2.72.4-0ubuntu2.7=2.72.4-0ubuntu2.8=2.72.4-0ubuntu2.9=2.72.4-0ubuntu2.10
Ubuntu:24.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=noble
Affected versions
=2.78.0-2=2.78.1-4=2.78.3-1=2.78.3-2=2.79.1-1=2.79.2-1~ubuntu1=2.79.3-3ubuntu5=2.80.0-6ubuntu1=2.80.0-6ubuntu3=2.80.0-6ubuntu3.1=2.80.0-6ubuntu3.2=2.80.0-6ubuntu3.4=2.80.0-6ubuntu3.5=2.80.0-6ubuntu3.6=2.80.0-6ubuntu3.7=2.80.0-6ubuntu3.8=2.80.0-6ubuntu3.9
Ubuntu:26.04:LTSmore threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=resolute
Affected versions
=2.86.0-2=2.86.1-1=2.86.1-2=2.86.2-1=2.86.3-1=2.86.3-4=2.87.2-2=2.87.2-3=2.87.3-1=2.88.0-1=2.88.0-1ubuntu0.1
Ubuntu:26.10more threats →ghsa
glib2.0
pkg:deb/ubuntu/glib2.0?arch=source&distro=stonking
Affected versions
=2.88.0-1=2.88.1-2=2.89.2-1=2.89.3-3=2.89.3-4=2.90.0-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 10:21:16 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses