Advisory

PYSEC-2026-2616

Also known as: CVE-2026-42448, GHSA-cf92-gfcw-6v53

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: CVSS v3 score 3.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Dates

Published
2026-07-13 15:15 UTC
Modified
2026-07-13 16:32 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: PyPA Advisory Database · CC BY 4.0

Sources & licences