p PatchFirst

CVE-2026-32116

CVE-2026-32116 · Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.2 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • magic-wormhole

    Versions
    • >= 0.21.0, < 0.23.0: Affected

    No fix published

  • magic-wormhole PyPI

    Versions
    • 0.21.0
    • 0.21.1
    • 0.22.0
    Affected ranges
    • ECOSYSTEM: ≥ 0.21.0, < 0.23.0

    Update to 0.23.0

  • magic-wormhole Ubuntu:18.04:LTS

    Versions
    • 0.9.1-1
    • 0.10.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • magic-wormhole Ubuntu:20.04:LTS

    Versions
    • 0.11.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • magic-wormhole Ubuntu:22.04:LTS

    Versions
    • 0.12.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • magic-wormhole Ubuntu:24.04:LTS

    Versions
    • 0.12.0-1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • magic-wormhole Ubuntu:25.10

    Versions
    • 0.18.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • magic-wormhole Ubuntu:26.10

    Versions
    • 0.18.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • magic-wormhole Ubuntu:26.04:LTS

    Versions
    • 0.18.0-1
    • 0.18.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →