Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-0628

NIXPKGS-2026-0628
published 3 months ago
updated 3 months ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    11 packages
    • wormhole-rs
    • magic-wormhole-rs
    • python312Packages.magic-wormhole
    • python313Packages.magic-wormhole
    • python314Packages.magic-wormhole
    • python312Packages.magic-wormhole-transit-relay
    • python313Packages.magic-wormhole-transit-relay
    • python314Packages.magic-wormhole-transit-relay
    • python312Packages.magic-wormhole-mailbox-server
    • python313Packages.magic-wormhole-mailbox-server
    • python314Packages.magic-wormhole-mailbox-server
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite

Magic Wormhole makes it possible to get arbitrary-sized files and directories from one computer to another. From 0.21.0 to before 0.23.0, receiving a file (wormhole receive) from a malicious party could result in overwriting critical local files, including ~/.ssh/authorized_keys and .bashrc. This could be used to compromise the receiver's computer. Only the sender of the file (the party who runs wormhole send) can mount the attack. Other parties (including the transit/relay servers) are excluded by the wormhole protocol. This vulnerability is fixed in 0.23.0.

Affected products

magic-wormhole
  • ==>= 0.21.0, < 0.23.0

Matching in nixpkgs

Ignored packages (11)

pkgs.wormhole-rs

Rust implementation of Magic Wormhole, with new features and enhancements

pkgs.magic-wormhole-rs

Rust implementation of Magic Wormhole, with new features and enhancements

Package maintainers

Upstream advisory: https://github.com/magic-wormhole/magic-wormhole/security/advisories/GHSA-4g4c-mfqg-pj8r