Live threats

All CVEs / Magic-wormhole Project

CVE-2026-32116Magic-wormhole Project Magic Wormhole

High 8.2

Priority
49
CVSS 4.0
8.2
EPSS
—
Auth required
Yes
Published
Mar 12, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Magic Wormhole.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI magic-wormhole ≥ 0.21.0 < 0.23.0 0.23.0 pip install "magic-wormhole>=0.23.0"
PyPI magic-wormhole ≥ 0.21.0 < 0.23.0 0.23.0 pip install "magic-wormhole>=0.23.0"

Per OSV / GitHub Advisories (GHSA-4g4c-mfqg-pj8r, PYSEC-2026-2615). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
magic-wormhole_projectmagic_wormhole≥ 0.21.0 < 0.23.0

Official sources

References

Links published by the sources. Open them with care.