Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local shell with write access to target directory
  2. Delivery
    Identify privileged process using g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION
  3. Exploit
    Trigger or wait for temp-file creation failure to activate unsafe fallback
  4. Execution
    Race to place symlink at destination path after unlink
  5. Persist
    Privileged process writes output through symlink to attacker-chosen file
  6. Impact
    Leverage overwritten file for privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires four concurrent conditions: (1) the attacker holds local write permission to the directory containing the target file (PR:L); (2) a process - ideally one running with privileges the attacker does not hold - calls g_file_replace() on that file using the G_FILE_CREATE_REPLACE_DESTINATION flag; (3) the temporary file creation step (.goutputstream-XXXXXX) fails, triggering the unprotected fallback code path - this is an error condition, not the normal path; and (4) the attacker successfully wins the TOCTOU race between the destination unlink and the subsequent recreate without O_EXCL. Exploitation is further limited by fs.protected_symlinks=1 (default-on in RHEL 7+), which blocks symlink following when the symlink owner differs from the following process. Remote exploitation is not applicable (AV:L).

Impact

Real-world risk is constrained by multiple compounding prerequisites: the attacker must be a local user with write permission to the target directory, the failure path in g_file_replace() must be triggered, and the attacker must win a tight timing race. The CVSS AC:H rating correctly reflects this. EPSS data is not provided, and no KEV or public POC has been identified, so there is no signal of active exploitation. The integrity impact (I:H) is meaningful where a privileged process - such as a system service, package manager, or container runtime - uses g_file_replace() with this flag; if an attacker can redirect such a write to /etc/passwd or a setuid binary, privilege escalation is plausible. However, the triggering condition (temp file creation failure) is an error path, making reliable exploitation harder in practice. The 'Information Disclosure' tag in the input metadata conflicts with the CVSS C:N rating and the description - this is an integrity/file-write attack, not a disclosure issue. Red Hat's CPE scope covers RHEL 6 through 10, Hardened Images, and OpenShift Container Platform 4, indicating broad Red Hat ecosystem exposure. Absent exploitation signal, this ranks as a medium-priority hardening fix rather than an emergency patch.

Exploit ScenarioDerived

A local attacker on a shared system identifies that a privileged daemon (e.g., a system configuration manager or package tool) calls g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION on a file inside a world-writable or group-writable directory. The attacker triggers or waits for the error condition that causes temp file creation to fail, then races to replace the destination path with a symlink pointing to /etc/cron.d/attacker. If the race is won, the daemon writes its output - potentially attacker-influenced configuration - to the cron directory, achieving privilege escalation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 07, 2026

Symlink-following race condition in GLib2's g_file_replace() allows a local attacker with write access to the destination directory to redirect privileged file writes to arbitrary files. When the G_FILE_CREATE_REPLACE_DESTINATION flag is set and creation of the .goutputstream-XXXXXX temporary file fails, GLib2 unlinks the destination and then recreates it without O_EXCL (exclusive creation) or symlink-safe open semantics, opening a TOCTOU race window. An attacker who wins this race by placing a symlink at the destination path can cause any process using this code path - potentially running with elevated privileges - to overwrite files the attacker cannot directly modify. No public exploit has been identified at time of analysis.

RemediationAI

Apply the Red Hat-issued errata for glib2 once published via https://access.redhat.com/security/cve/CVE-2026-86469; no specific patched version number is confirmed in the available data. Monitor the upstream GLib2 fix at https://gitlab.gnome.org/GNOME/glib/-/work_items/4044 for a tagged release, then verify it is incorporated into the Red Hat errata. As a compensating control where patching is delayed, restrict write access to directories into which privileged processes write sensitive files using restrictive permissions (mode 0700 or 0750 owned by the privileged user/group), which removes the attacker's ability to place a symlink. Enabling kernel-level symlink-following restrictions (fs.protected_symlinks=1, the default on RHEL 7+) mitigates this class of attack by preventing symlink following when the uid of the link owner does not match the process following it - verify this sysctl is set in your environment. Note that fs.protected_symlinks provides defense-in-depth but does not fix the GLib2 code path itself.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GLib2 (the GNOME core utility library, glib2 package) implements g_file_replace() in gio/glocalfileoutputstream.c to atomically replace files using a write-to-temp-then-rename approach. When the G_FILE_CREATE_REPLACE_DESTINATION flag is passed, the function first attempts to create a .goutputstream-XXXXXX temporary file. If that creation fails (e.g., due to filesystem limits or a pre-existing collision), the fallback path unlinks the destination file and then reopens/recreates it via a code path that does not use O_EXCL or O_NOFOLLOW, leaving a window for a symlink injection. CWE-59 (Improper Link Resolution Before File Access, 'Link Following') precisely captures this root cause: the library resolves the destination path again after the unlink without guarding against a symlink placed by a concurrent actor. The CVSS vector AV:L/AC:H/PR:L confirms this is a local, high-complexity race requiring write access to the parent directory.

Know when Red Hat Enterprise Linux 10 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 5.3 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
vuln.today AI 5.3 MEDIUM

Local-only TOCTOU race requiring directory write access (PR:L, AC:H); file-write redirection yields I:H with no confidentiality impact and minor availability disruption.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.3 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
GLib2 is a foundational library in virtually all Linux distributions
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_hardened_images:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy