CVE-2026-58015
Undergoing Analysis Undergoing Analysis - In Progress

GLib D-Bus Cookie Context Path Traversal

Vulnerability report for CVE-2026-58015, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-06-30

Assigner: Red Hat, Inc.

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-06-30
Generated
2026-06-30
AI Q&A
2026-06-30
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gnome glib From 2.0.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58015 is a path traversal vulnerability in the GLib D-Bus client-side implementation of the DBUS_COOKIE_SHA1 SASL authentication mechanism.

The flaw occurs because the client does not validate the cookie_context parameter received from the server, which can contain path traversal sequences like ../. This parameter is used to build a filesystem path, allowing a malicious D-Bus server to cause the client to read arbitrary files outside the intended directory.

The client then uses part of the file's contents in a SHA1 hash computation and sends the result back to the server, enabling the server to verify guessed file contents and exfiltrate sensitive data.

Impact Analysis

This vulnerability can lead to unauthorized reading of arbitrary files on the client system by a malicious D-Bus server.

Sensitive data stored in files outside the intended directory can be exfiltrated without user knowledge, potentially exposing confidential information.

Since the vulnerability allows data exfiltration through the authentication mechanism, it can compromise the confidentiality of the affected system.

Detection Guidance

This vulnerability involves the GLib D-Bus client accepting a malicious cookie_context parameter containing path traversal sequences from a D-Bus server. Detection would involve monitoring D-Bus client authentication attempts for unusual or suspicious cookie_context values that contain characters such as ../ or other path traversal sequences.

Since the vulnerability exploits the DBUS_COOKIE_SHA1 SASL authentication mechanism, you can inspect D-Bus traffic or logs for authentication exchanges involving this mechanism and look for cookie_context parameters with suspicious path traversal patterns.

Specific commands are not provided in the resources, but general approaches include:

  • Using tools like tcpdump or Wireshark to capture and analyze D-Bus traffic for suspicious authentication parameters.
  • Checking system logs for D-Bus authentication errors or unusual activity.
  • Using grep or similar tools to search for suspicious cookie_context values in D-Bus related logs or debug output.
Mitigation Strategies

Immediate mitigation steps include preventing the GLib D-Bus client from accepting malicious cookie_context parameters containing path traversal sequences.

Since the vulnerability arises from lack of validation of the cookie_context parameter, applying patches or updates provided by your OS or GLib maintainers that fix this validation issue is the most effective step.

In the absence of patches, consider restricting or monitoring D-Bus server connections to trusted sources only, to reduce exposure to malicious servers.

Additionally, auditing and limiting file permissions in the ~/.dbus-keyrings/ directory may reduce the impact of potential exploitation.

Compliance Impact

This vulnerability allows a malicious D-Bus server to cause the client to read arbitrary files and exfiltrate sensitive data by exploiting a path traversal flaw in the GLib D-Bus client-side implementation. Such unauthorized access and potential leakage of sensitive information could lead to non-compliance with data protection regulations like GDPR and HIPAA, which require strict controls over the confidentiality and integrity of personal and sensitive data.

Specifically, the exfiltration of sensitive data through this vulnerability may violate requirements for data confidentiality and breach notification obligations under these standards.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58015. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart