Read the docs
TI-2026-24653 Aliases CVE-2026-32116GHSA-4g4c-mfqg-pj8r

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

Priority LOW 36CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00401 34th percentileScored 2026-11-07
Fix Fixed magic-wormhole (magic-wormhole): 0.23.0magic-wormhole (PyPI): 0.23.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
magic-wormholemagic-wormhole0.21.0 to before 0.23.00.23.0Patch availableCNA
—magic-wormhole (PyPI)0.21.0 to before 0.23.00.23.0Patch availableGHSA-4g4c-mfqg-pj8r
  • magic-wormhole Vendormagic-wormhole Affected 0.21.0 to before 0.23.0 Fixed in 0.23.0 Patch available CNA
  • magic-wormhole (PyPI) Vendor— Affected 0.21.0 to before 0.23.0 Fixed in 0.23.0 Patch available GHSA-4g4c-mfqg-pj8r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:magic-wormhole_project:magic_wormhole:*:*:*:*:*:python:*:*0.21.0 to before 0.23.0VulnerableMagic-wormhole Project
  • cpe:2.3:a:magic-wormhole_project:magic_wormhole:*:*:*:*:*:python:*:* Versions 0.21.0 to before 0.23.0 Vulnerable ·Magic-wormhole Project

Remediation

  • Fix · CNA magic-wormhole (magic-wormhole) Fixed in 0.23.0
  • Fix · GHSA-4g4c-mfqg-pj8r magic-wormhole (PyPI) Fixed in 0.23.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32116
  2. 2026-10-03 Alias added: GHSA-4g4c-mfqg-pj8r

References

  • TI-2026-30737 wormhole receive, with --output pointing at an existing directory can be path-traversed CVSS 3.1LOW 3.5

Sources