Advisory

PYSEC-2026-434

Also known as: CVE-2021-41868, GHSA-7g47-xxff-9p85

Summary

Remote unauthenticated attackers able to upload files in Onionshare

Details

OnionShare 2.3 before 2.4 allows remote unauthenticated attackers to upload files on a non-public node when using the --receive functionality.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

onionshare-cli

PyPI · All systems

Affected

  • introduced 2.3, fixed 2.4 (ecosystem)

Fixed versions

2.4

Fix

  • Fixed version 2.4
    pip install --upgrade onionshare-cli==2.4

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