Skip to content

Fix bundled libsoup WebSocket advisories on Linux - #1430

Closed
AnthonyRonning wants to merge 1 commit into
masterfrom
security/libsoup-websocket-2026
Closed

AnthonyRonning wants to merge 1 commit into
masterfrom
security/libsoup-websocket-2026

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Override Linux libsoup_3 to 3.8.0 using the upstream Nixpkgs update, including its zstd build input.
  • Keep the current Nixpkgs pin and other platforms unchanged. The override feeds both the explicit Linux Tauri package list and WebKitGTK's libsoup dependency.

Reason

The published Maple v3.4.6 Linux AppImage contains libsoup 3.6.5. Its release checksum matched the inspected artifact. Debian's security tracker lists that version as affected by CVE-2026-102556 through CVE-2026-102560; upstream fixed the WebSocket issues in 3.7.3. The .deb uses the host WebKitGTK package and does not bundle libsoup.

The exact v3.4.6 Research source did not show a WebSocket call or an attacker-controlled embedded page. Installed-client versions and a reachable exploit path are unverified. This PR updates the bundled library without asserting an active exploit.

Local validation

  • just lane repo and nix flake check --no-build --all-systems --no-update-lock-file passed.
  • The evaluated x86_64-linux desktop shell selects libsoup 3.8.0; WebKitGTK depends on the same derivation, with zstd and the 3.8.0 source present. No libsoup 3.6.5 derivation appeared in that evaluated shell closure.
  • Selected local lanes passed: research-web, research-rust, auth, updates, and agent-updates. The complete pre-commit hook also passed. On the macOS host, its unrelated Debian packaging fixture needed GNU ar ahead of LLVM ar; no hook check was skipped.

Review and validation still needed

  • Build the unsigned Linux AppImage, .deb, and RPM through the ci:package lane. Inspect the AppImage's bundled libsoup ELF/version and confirm no old copy remains.
  • Run a Linux desktop smoke test before release. This macOS host has no Linux builder, so the new Linux packages and runtime behavior were not tested locally.
  • Do not infer that any installed client has updated before a separate release and adoption check.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@AnthonyRonning AnthonyRonning added the ci:package Build unsigned packages on this PR label Nov 2, 2026
@AnthonyRonning

Copy link
Copy Markdown
Contributor Author

Closing. Overriding libsoup_3 alone invalidates the binary cache for WebKitGTK, GTK 3/4, Qt 6 and GStreamer in every Linux dev shell, so CI compiles them from source and times out (research-desktop-linux at 45 min, repo at 15 min). Exposure is low: the CVEs are in libsoup's WebSocket code, Research opens no WebSockets, and only the Linux AppImage bundles libsoup. The fix will come through a nixpkgs pin bump; current nixos-unstable already ships libsoup 3.8.0, prebuilt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:package Build unsigned packages on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant