{"answers":{"affected":"3 open source packages ship an affected version, including magic-wormhole. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-32116 in the wild and no public exploit code.","fix":"Upgrade magic-wormhole to 0.23.0 or later.","what":"CVE-2026-32116 is a high-severity path traversal vulnerability in magic-wormhole, published on 12 Mar 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-32116 and fix it if it is affected.\n\nWhat it is: CVE-2026-32116 is a high-severity path traversal vulnerability in magic-wormhole, published on 12 Mar 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-32116 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- magic-wormhole (PyPI): affected from 0.21.0; fixed in 0.23.0\n- magic-wormhole (PyPI): affected from 0.21.0; fixed in 0.23.0\n- magic-wormhole (PyPI): affected from 0.21.0; fixed in 0.23.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-32116/ (Markdown: https://insights.sbomify.com/CVE-2026-32116/index.md)","id":"CVE-2026-32116","markdown":"https://insights.sbomify.com/CVE-2026-32116/index.md","name":"CVE-2026-32116","record":{"aliases":["GHSA-4g4c-mfqg-pj8r","PYSEC-2026-2615","UBUNTU-CVE-2026-32116"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Magic Wormhole file transfer","requires_auth":"low_privilege","summary":"A malicious sender can overwrite critical local files like SSH keys during reception, potentially compromising the receiver's system.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"magic_wormhole","vendor":"magic-wormhole_project"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","version":"4.0"},"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. From 0.21.0 to before 0.23.0, receiving a file (wormhole receive) from a malicious party could result in overwriting critical local files, including ~/.ssh/authorized_keys and .bashrc. This could be used to compromise the receiver's computer. Only the sender of the file (the party who runs wormhole send) can mount the attack. Other parties (including the transit/relay servers) are excluded by the wormhole protocol. This vulnerability is fixed in 0.23.0.","ecosystems":["PyPI"],"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":"Magic Wormhole: \"wormhole receive\" allows arbitrary local file overwrite","id":"CVE-2026-32116","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"grafanacubism-panel : Stored XSS via javascript: URL in panel zoom link (Editor → Viewer)","id":"CVE-2026-32117"},"packages":[{"ecosystem":"PyPI","fixed":["0.23.0"],"introduced":["0.21.0"],"last_affected":[],"package":"magic-wormhole","purl":null,"source":"GHSA-4g4c-mfqg-pj8r"},{"ecosystem":"PyPI","fixed":["0.23.0"],"introduced":["0.21.0"],"last_affected":[],"package":"magic-wormhole","purl":"pkg:pypi/magic-wormhole","source":"GHSA-4g4c-mfqg-pj8r"},{"ecosystem":"PyPI","fixed":["0.23.0"],"introduced":["0.21.0"],"last_affected":[],"package":"magic-wormhole","purl":"pkg:pypi/magic-wormhole","source":"PYSEC-2026-2615"}],"prev":{"headline":"Discourse's unscoped status lookups leak restricted metadata","id":"CVE-2026-32114"},"products":["magic-wormhole"],"published":"2026-03-12","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":"US public information, NVD API terms","name":"NVD"},{"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-03-13","vendors":["magic-wormhole"]},"summary":"A malicious sender can overwrite critical local files like SSH keys during reception, potentially compromising the receiver's system.","url":"https://insights.sbomify.com/CVE-2026-32116/"}