PyPA Advisory Database
PYSEC-2026-2616
Magic Wormhole: receive, with --output pointing at an existing directory can be path-traversed
Details
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 | Affected versions |
|---|---|---|
| PyPI | magic-wormhole | From 0.23.0 before 0.24.0 (fixed in 0.24.0) |