Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker initiates wormhole send with crafted payload
-
ExploitReceiver accepts file transfer via wormhole receive
-
ExecutionMalicious paths traverse directories
-
ImpactArbitrary files overwritten locally
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Magic Wormhole versions 0.21.0 through 0.22.x with active wormhole receive operation. Attacker must be the sender party initiating the file transfer; receiver must accept the malicious transfer without path validation. |
| Impact | Exploitable via local access. |
| Exploit ScenarioDerived | An attacker could exploit this vulnerability to overwriting critical local files, including ~/. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
Magic Wormhole versions 0.21.0 through 0.22.x allow malicious senders to overwrite arbitrary files on a receiver's system during file transfer operations, potentially compromising SSH keys and shell configuration files. This path traversal vulnerability (CWE-22) requires the attacker to control the sending side of the transfer and affects any user receiving files from an untrusted source. No patch is currently available for this HIGH severity vulnerability.
Earlier versions of this analysis (1)
Magic Wormhole makes it possible to get arbitrary-sized files and directories from one computer to another. From 0.21.0 to versions up to 0.23.0 is affected by path traversal.
RemediationAI
Fixed in version 0.23.0.. Validate and sanitize file path inputs. Use allowlists.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability (CWE-22: Path Traversal) affects Magic Wormhole makes it possible to get arbitrary-sized files and directories from one computer to another. From 0.21.0 to. 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
Know when Magic Wormhole gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
Magic Wormhole versions 0.21.0 through 0.23.0 contain a critical path traversal vulnerability that could allow attackers to read or write files outside intended directories on affected systems. Organizations using this file transfer tool for secure file sharing are at risk of unauthorized data access or system compromise if the vulnerability is exploited.
Disable Magic Wormhole until patch availability; restrict network access to Magic Wormhole endpoints through firewall rules and network segmentation; implement application whitelisting to control file access; monitor file system activity for suspicious traversal patterns; use endpoint detection and response (EDR) tools to identify exploitation attempts; consider deploying a Web Application Firewall (WAF) if Magic Wormhole is exposed via network interfaces to filter malicious path traversal payloads.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-11643
GHSA-4g4c-mfqg-pj8r
NVD
CVE.org
EPSS
VulDB
Exploit-DB