Advisory

GHSA-cf92-gfcw-6v53

Also known as: CVE-2026-42448, PYSEC-2026-2616

Summary

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-05-06 20:40 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

magic-wormhole

PyPI · All systems

Affected

  • introduced 0.23.0, fixed 0.24.0 (ecosystem)

Fixed versions

0.24.0

Fix

  • Fixed version 0.24.0
    pip install --upgrade magic-wormhole==0.24.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences