{"answers":{"affected":"3 open source packages ship an affected version, including magic-wormhole.","exploited":"There is no known exploitation of CVE-2026-42448 in the wild and no public exploit code.","fix":"Upgrade magic-wormhole to 0.24.0 or later.","what":"CVE-2026-42448 is a low-severity path traversal vulnerability in magic-wormhole, published on 26 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42448 and fix it if it is affected.\n\nWhat it is: CVE-2026-42448 is a low-severity path traversal vulnerability in magic-wormhole, published on 26 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-42448 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- magic-wormhole (PyPI): affected from 0.23.0; fixed in 0.24.0\n- magic-wormhole (PyPI): affected from 0.23.0; fixed in 0.24.0\n- magic-wormhole (PyPI): affected from 0.23.0; fixed in 0.24.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42448/ (Markdown: https://insights.sbomify.com/CVE-2026-42448/index.md)","id":"CVE-2026-42448","markdown":"https://insights.sbomify.com/CVE-2026-42448/index.md","name":"CVE-2026-42448","record":{"aliases":["GHSA-cf92-gfcw-6v53","PYSEC-2026-2616","openSUSE-SU-2026:11370-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Magic Wormhole file transfer","requires_auth":"low_privilege","summary":"An attacker can write files outside the intended directory when a receiver uses an existing output directory, potentially overwriting local files.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Magic Wormhole makes it possible to get arbitrary-sized files and directories from one computer to another. Prior to 0.24.0, there is a path traversal when a receiver who specifies \"--output \u003cdir\u003e\" where that output directory currently exists (as a directory). This vulnerability is fixed in 0.24.0.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"wormhole receive, with --output pointing at an existing directory can be path-traversed","id":"CVE-2026-42448","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"n8n-MCP: IPv4-mapped IPv6 addresses bypass SSRF protection in validateUrlSync(), enabling full SSRF for SDK embedders","id":"CVE-2026-42449"},"packages":[{"ecosystem":"PyPI","fixed":["0.24.0"],"introduced":["0.23.0"],"last_affected":[],"package":"magic-wormhole","purl":null,"source":"GHSA-cf92-gfcw-6v53"},{"ecosystem":"PyPI","fixed":["0.24.0"],"introduced":["0.23.0"],"last_affected":[],"package":"magic-wormhole","purl":"pkg:pypi/magic-wormhole","source":"GHSA-cf92-gfcw-6v53"},{"ecosystem":"PyPI","fixed":["0.24.0"],"introduced":["0.23.0"],"last_affected":[],"package":"magic-wormhole","purl":"pkg:pypi/magic-wormhole","source":"PYSEC-2026-2616"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.24.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-magic-wormhole","purl":"pkg:rpm/opensuse/python-magic-wormhole\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11370-1"}],"prev":{"headline":"jadx: HTML Injection in Summary panel","id":"CVE-2026-42447"},"products":["magic-wormhole"],"published":"2026-05-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["magic-wormhole"]},"summary":"An attacker can write files outside the intended directory when a receiver uses an existing output directory, potentially overwriting local files.","url":"https://insights.sbomify.com/CVE-2026-42448/"}