{"id":"PYSEC-2026-2616","summary":"Magic Wormhole: receive, with --output pointing at an existing directory can be path-traversed","details":"### Impact\nA receiver who specifies \"--output \u003cdir\u003e\" where that output directory currently exists (as a directory).\n\n### Patches\n0.24.0 will contain the patch\n\n### Workarounds\nEnsure local target directories specified by \"--output\" do not already exist\n\n### Resources\nPrivate email and Signal communications from a user.\nMagic Wormhole thanks  @marduc812","aliases":["CVE-2026-42448","GHSA-cf92-gfcw-6v53"],"modified":"2026-07-13T16:32:12.324034954Z","published":"2026-07-13T15:15:39.233478Z","references":[{"type":"WEB","url":"https://github.com/magic-wormhole/magic-wormhole/security/advisories/GHSA-cf92-gfcw-6v53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42448"},{"type":"PACKAGE","url":"https://github.com/magic-wormhole/magic-wormhole"},{"type":"PACKAGE","url":"https://pypi.org/project/magic-wormhole"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cf92-gfcw-6v53"}],"affected":[{"package":{"name":"magic-wormhole","ecosystem":"PyPI","purl":"pkg:pypi/magic-wormhole"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.23.0"},{"fixed":"0.24.0"}]}],"versions":["0.23.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/magic-wormhole/PYSEC-2026-2616.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"}]}