Skip to main content
← All vulnerabilities
CVE-2026-32116PYSEC-2026-2615GHSA-4G4C-MFQG-PJ8R

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • magic-wormhole magic-wormhole

    From 0.21.0 · fixed in 0.23.0

  • magic-wormholePyPI

    From 0.21.0 · fixed in 0.23.0

References 1

GitHub · magic-wormhole/magic-wormhole