Glib: path traversal in glib/gio/gdbusauthmechanismsha1.c via keyring_lookup_entry and mechanism_client_data_receive
Summary
| CVE | CVE-2026-58015 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-30 13:19:17 UTC |
| Updated | 2026-09-10 18:18:04 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.006610000 probability, percentile 0.495430000 (date 2026-09-10)
Problem Types: CWE-22 | NVD-CWE-noinfo | CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Gnome | Glib | All | All | All | All |
| Operating System | Redhat | Enterprise Linux | 10.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 6.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | GNOME | GLib | affected 2.88.1 semver | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | unaffected 0:2.80.4-12.el10_2.21 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | unaffected 0:2.80.4-4.el10_0.17 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | unaffected 0:2.56.1-13.el7_9.1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:2.70.1-9.el8_10 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:2.56.4-177.el8_10 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:2.56.4-10.el8_4.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | unaffected 0:2.56.4-10.el8_4.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 0:2.56.4-158.el8_6.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | unaffected 0:2.56.4-158.el8_6.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | unaffected 0:2.56.4-165.el8_8.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Update Services For SAP Solutions | unaffected 0:2.56.4-165.el8_8.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.68.4-19.el9_8.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.68.4-19.el9_8.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions | unaffected 0:2.68.4-7.el9_2.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.4 Update Services For SAP Solutions | unaffected 0:2.68.4-14.el9_4.8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | unaffected 0:2.68.4-16.el9_6.7 * rpm | Not specified |
| CNA | Red Hat | Cert Manager Support For Red Hat OpenShift Release 1.19 | unaffected 1788348522 * rpm | Not specified |
| CNA | Red Hat | Cert Manager Support For Red Hat OpenShift Release 1.19 | unaffected 1788348571 * rpm | Not specified |
| CNA | Red Hat | Cert Manager Support For Red Hat OpenShift Release 1.19 | unaffected 1788348571 * rpm | Not specified |
| CNA | Red Hat | Cert Manager Support For Red Hat OpenShift Release 1.19 | unaffected 1788348594 * rpm | Not specified |
| CNA | Red Hat | Red Hat Discovery 2 | unaffected 1788205779 * rpm | Not specified |
| CNA | Red Hat | Red Hat Discovery 2 | unaffected 1788206196 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1787241211 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1787135742 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1787241260 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1788880445 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1788880464 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1788880456 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1788765051 * rpm | Not specified |
| CNA | Red Hat | Red Hat Update Infrastructure 5 | unaffected 1788880581 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Hardened Images | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2026:61766 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65763 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:63140 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:49512 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:57015 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65762 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:58981 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| gitlab.gnome.org/GNOME/glib/-/issues/3931 | [email protected] | gitlab.gnome.org | Exploit, Issue Tracking, Vendor Advisory |
| access.redhat.com/errata/RHSA-2026:65773 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65768 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:66018 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65769 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:63138 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65771 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2026-58015 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2026:61783 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65767 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:55440 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:65770 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:63135 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Thepwnisher for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-24T17:22:00.405Z | Reported to Red Hat. |
| CNA | 2026-04-08T00:00:00.000Z | Made public. |
Workarounds
CNA: To mitigate this vulnerability, ensure that applications only connect to trusted D-Bus servers and operate within secure, isolated networks to prevent man-in-the-middle (MitM) attacks. If feasible, configuring the D-Bus connection to strictly require the EXTERNAL authentication mechanism and disabling DBUS_COOKIE_SHA1 will completely neutralize this issue.