CVE-2026-32116

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

Published Mar 12, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4g4c-mfqg-pj8r Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite
History
Type Values Removed Values Added
First Time appeared Magic-wormhole Project
Magic-wormhole Project magic Wormhole
CPEs cpe:2.3:a:magic-wormhole_project:magic_wormhole:*:*:*:*:*:python:*:*
Vendors & Products Magic-wormhole Project
Magic-wormhole Project magic Wormhole
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Magic-wormhole
Magic-wormhole magic-wormhole
Vendors & Products Magic-wormhole
Magic-wormhole magic-wormhole
Type Values Removed Values Added
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.
Title Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.2, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 13, 2026, 4:24 PM
Reserved
Mar 10, 2026, 10:02 PM
Status
Analyzed
Published
Mar 12, 2026, 6:16 PM
Modified
Jun 17, 2026, 10:35 AM