Description
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| magic-wormhole | magic-wormhole | >= 0.21.0, < 0.23.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | magic-wormhole | No fix yet | — |
| Ubuntu 26.04 LTS | magic-wormhole | No fix yet | — |
| Ubuntu 25.10 | magic-wormhole | No fix yet | — |
| Ubuntu 24.04 LTS | magic-wormhole | No fix yet | — |
| Ubuntu 22.04 LTS | magic-wormhole | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | magic-wormhole | No fix yet | — |
| Ubuntu 18.04 LTS | magic-wormhole | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | magic-wormhole | >= 0.21.0, < 0.23.0 | 0.23.0 | GHSA-4g4c-mfqg-pj8r |