CVE-2026-42448 — magic-wormhole
LOWCVE-2026-42448 is a low-severity (CVSS 3.5) Path Traversal vulnerability in magic-wormhole. A fix is available for magic-wormhole — see the affected versions and patch details below.
wormhole receive, with --output pointing at an existing directory can be path-traversed
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-42448.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
magic-wormholeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
A receiver who specifies "--output <dir>" where that output directory currently exists (as a directory).
Patches
0.24.0 will contain the patch
Workarounds
Ensure local target directories specified by "--output" do not already exist
Resources
Private email and Signal communications from a user. Magic Wormhole thanks @marduc812
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | magic-wormhole | ≥ 0.23.0&&< 0.24.0 | 0.24.0pip install --upgrade 'magic-wormhole==0.24.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for magic-wormhole, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update magic-wormhole to 0.24.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-42448 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2026-42448 in your dependencies?
Find it across PyPI, including transitive dependencies.