Path Traversal in Magic-Wormhole
CVE-2026-32116
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (27.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
Affected products
- Magic-wormhole — versions >= 0.21.0, < 0.23.0
- Magic-wormhole_project Magic_wormhole
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-32116?
- CVE-2026-32116 is a high-severity vulnerability in Magic-Wormhole, classified under Path Traversal. CVSS score: 8.1/10. Published 2026-03-12.
- How severe is CVE-2026-32116?
- High severity. CVSS v3 base score is 8.1 out of 10.