Skip to content

glib MEDIUM (GHSA-wrw7-89jp-8q8g) is unfixable until Tauri leaves gtk-rs 0.18 #376

Open

Description

@CameronBrooks11

The last open Dependabot alert is glib >= 0.15.0, < 0.20.0 → patched in 0.20.0 (GHSA-wrw7-89jp-8q8g, unsoundness in the Iterator/DoubleEndedIterator impls for glib::VariantStrIter), in fiberpath_gui/src-tauri/Cargo.lock. Open since 2026-04-02.

It cannot be cleared right now. Recording why, so the standing alert isn't mistaken for neglect.

What pins it

glib 0.18.5 comes in via gtk 0.18.2, which is required by Tauri's entire Linux stack:

glib v0.18.5
└── atk / cairo-rs / gdk / gio / pango …
    └── gtk v0.18.2
        ├── muda v0.19.3        └── tauri v2.11.5
        ├── tao v0.35.3         └── tauri-runtime-wry v2.11.4
        ├── webkit2gtk v2.0.2   └── wry v0.55.1
        └── tauri v2.11.5

Every one of them declares a hard ^0.18:

crate requires
tauri 2.11.5 gtk ^0.18
tauri-runtime 2.11.3 gtk ^0.18
tauri-runtime-wry 2.11.4 gtk ^0.18
wry 0.55.1 gtk ^0.18
tao 0.35.3 gtk ^0.18
muda 0.19.3 gtk ^0.18
webkit2gtk 2.0.2 gtk ^0.18.0, glib ^0.18.0
javascriptcore-rs, soup3, libappindicator, gtk-rs family glib ^0.18

Under Cargo semver ^0.18 on a 0.x crate means >=0.18.0, <0.19.0, so no resolution can reach glib ≥ 0.20 while these are in the graph.

Why the obvious escalations don't work

  • Bump Tauri — 2.11.5 is the latest. cargo update --dry-run proposes no tauri, gtk or glib change.
  • Go to a major — there is no Tauri 3. cargo add tauri@3 → not in the registry. No 2.12.0-{alpha,beta,rc} or 3.0.0-{alpha,beta} either.
  • Bump gtk directly — gtk 0.19 exists and does resolve glib 0.22.9, which would clear it. But gtk is transitive, and nothing in Tauri's chain accepts ^0.19.
  • [patch] override — 23 crates declare a ^0.18 requirement on gtk/glib. Forcing 0.20+ would break compilation across all of them; 0.18 → 0.20 is a breaking gtk-rs API change.
  • gtk 0.20 does not exist at all. The GTK3 binding stops at 0.19; gtk-rs moved on to gtk4.

So this resolves only when Tauri migrates its Linux stack off GTK3 / gtk-rs 0.18 (i.e. to webkitgtk-6 / GTK4), which is Tauri-side work.

Exposure

Low. Our Rust is six files (main.rs, api_path.rs, api_sidecar.rs, cli_path.rs, cli_process.rs, file_association.rs) and none reference glib or Variant. The advisory is a soundness bug in a specific iterator API, reachable only if the GTK stack iterates a GVariant string array in the affected pattern — not a remotely triggerable path in this app.

Also note this affects the Linux bundle only; the macOS and Windows builds don't use the GTK stack.

Suggested handling

Leave the alert open as an accurate record, or dismiss it in Dependabot as "no fix available" with a link here. Re-check when Tauri announces a GTK4/webkitgtk-6 migration. Not worth further local effort — there is nothing to bump.

Investigated while working the security queue; Cargo Audit in CI is unaffected and still passes.

Activity

  1. added
    dependencies
    rust
    tauri
    on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesrusttauri

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions