Skip to content

CVE-2026-32116 Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite

HighCVSS 8.2 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

7 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/magic-wormhole(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/magic-wormhole(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/magic-wormhole(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/magic-wormhole(Ubuntu 26.10) All versions No fix listed No fix yet
magic-wormhole project magic wormhole >= 0.21.0, < 0.23.0 0.23.0 Fixed
pypi magic-wormhole(PyPI) = 0.21.0; = 0.21.1; = 0.22.0; >= 0.21.0, < 0.23.0 0.23.0 Fixed
magic-wormhole = >= 0.21.0, < 0.23.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi magic-wormhole(PyPI) >= 0.21.0, < 0.23.0 0.23.0
pypi magic-wormhole(PyPI) = 0.21.0 No fix listed
pypi magic-wormhole(PyPI) = 0.21.1 No fix listed
pypi magic-wormhole(PyPI) = 0.22.0 No fix listed
magic-wormhole = >= 0.21.0, < 0.23.0 No fix listed
ubuntu/magic-wormhole(Ubuntu:22.04) All versions No fix listed
ubuntu/magic-wormhole(Ubuntu:24.04) All versions No fix listed
ubuntu/magic-wormhole(Ubuntu:26.04) All versions No fix listed
ubuntu/magic-wormhole(Ubuntu:26.10) All versions No fix listed
magic-wormhole project magic wormhole >= 0.21.0, < 0.23.0 0.23.0

References