Skip to main content
EPSS 0.9%top 42%

CVE-2026-58015: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GNOME GLib

0
Medium
VulnerabilityCVE-2026-58015cvecve-2026-58015gcvecwe-22
Published: 06/30/2026 (06/30/2026, 13:02:45 UTC)
Source: CVE Database V5
Vendor/Project: GNOME
Product: GLib

Description

A flaw was found in GLib. The D-Bus client-side implementation of the DBUS_COOKIE_SHA1 SASL authentication mechanism does not validate the cookie_context parameter received from the server. A malicious D-Bus server can supply a cookie_context containing path traversal sequences, causing the client to read an arbitrary file and exfiltrate sensitive data by verifying guessed file contents against a generated hash.

CVSS v3.1

Score 5.9medium

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

Affected software

GNOME

GLib

Affected versions
>=0 <2.88.1

Red Hat

Red Hat Enterprise Linux 10

Red Hat

Red Hat Enterprise Linux 10.0 Extended Update Support

Red Hat

Red Hat Enterprise Linux 7 Extended Lifecycle Support

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Red Hat

Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.6 Extended Update Support

Red Hat

Red Hat OpenShift Container Platform 4.22

Red Hat

Cert Manager support for Red Hat OpenShift release 1.19

Red Hat

Cert Manager support for Red Hat OpenShift release 1.19

Red Hat

Cert Manager support for Red Hat OpenShift release 1.19

Red Hat

Red Hat Discovery 2

Red Hat

Red Hat Discovery 2

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Update Infrastructure 5

Red Hat

Red Hat Enterprise Linux 10

Red Hat

Red Hat Enterprise Linux 6

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat Hardened Images

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 13:25:48 UTC

Technical Analysis

A vulnerability in GLib's D-Bus client-side DBUS_COOKIE_SHA1 SASL authentication mechanism arises from improper validation of the cookie_context parameter received from the server. This allows a malicious D-Bus server to include path traversal sequences in cookie_context, causing the client to read arbitrary files on the filesystem. The attacker can exfiltrate sensitive secrets such as SSH keys or API tokens by guessing file contents and verifying them against generated hashes. Exploitation requires the attacker to be able to perform a man-in-the-middle attack or control a malicious server the client connects to, and involves an oracle attack, increasing complexity. Red Hat's advisory rates the vulnerability as moderate severity with a CVSS 3.1 score of 5.9 (Network attack vector, high attack complexity, no privileges or user interaction required, high confidentiality impact).

Potential Impact

Successful exploitation allows an attacker to read arbitrary files on the victim's filesystem, potentially exposing sensitive secrets like SSH keys or API tokens. This compromises confidentiality but does not affect integrity or availability. The attack complexity is high due to the need for man-in-the-middle positioning or malicious server control and the requirement of an oracle attack to extract data.

Mitigation Recommendations

Red Hat advises ensuring that applications only connect to trusted D-Bus servers and operate within secure, isolated networks to prevent man-in-the-middle attacks. Additionally, configuring the D-Bus connection to require the EXTERNAL authentication mechanism and disabling DBUS_COOKIE_SHA1 will fully mitigate the vulnerability. Red Hat has released security updates that fix this issue; applying these patches is recommended.

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

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-06-26T20:59:47.856Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-58015","vendor":"Red Hat"}]

Threat ID: 6a43c34927e9c79719d5bd6a

Added to database: 06/30/2026, 13:23:21 UTC

Last enriched: 08/17/2026, 13:25:48 UTC

Last updated: 09/28/2026, 02:09:55 UTC

Views: 209

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.

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