Skip to content
OpenAdvisories
High · 8.2 CVE-2026-32116 EUVD-2026-11643GHSA-4g4c-mfqg-pj8rPYSEC-2026-2615

Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite

Published Mar 12, 2026 · Updated Mar 13, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS magic-wormhole No fix yet —
Ubuntu 18.04 LTS magic-wormhole No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI magic-wormhole >= 0.21.0, < 0.23.0 0.23.0 GHSA-4g4c-mfqg-pj8r

References