CVE-2026-32116 Details
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.
A vulnerability in Magic Wormhole versions 0.21.0 to prior to 0.23.0 allows for arbitrary overwriting of local files when receiving files from a malicious sender. This issue can lead to the compromise of the receiver's computer by overwriting critical files such as ~/.ssh/authorized_keys and .bashrc. The vulnerability arises because the receiver's file handling does not properly validate incoming filenames, a flaw that was introduced in version 0.21.0 and has been corrected in version 0.23.0.
Users are advised to upgrade to Magic Wormhole version 0.23.0, where this vulnerability has been fixed. As an alternative, the receiver can use the --output or -o option with the 'wormhole receive' command to specify a different filename, thereby avoiding the overwrite.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/magic-wormhole/magic-wormhole/security/advisories/GHSA-4g4c-mfqg-pj8r | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| magic-wormhole project magic wormhole | >= 0.21.0, < 0.23.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 16, 2026 | Initial Analysis | [email protected] |
| Mar 12, 2026 | New CVE Received | [email protected] |