CVE-2021-41868 Remote unauthenticated attackers able to upload files in Onionshare

Critical 9.8 Published Updated

Remote attackers can upload files to OnionShare receive nodes, potentially storing malicious content on the host system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41868?

CVE-2021-41868 is a critical vulnerability in n/a, published on 4 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Which versions are affected by CVE-2021-41868?

3 open source packages ship an affected version, including onionshare-cli. It affects 1 product.

PackageAffectedFixed in
onionshare-cli PyPIFrom 2.32.4
onionshare-cli PyPIFrom 2.32.4
onionshare-cli PyPIFrom 2.32.4

Products include Onionshare Onionshare.

How do I fix CVE-2021-41868?

Upgrade onionshare-cli to 2.4 or later.

Is CVE-2021-41868 being exploited?

There is no known exploitation of CVE-2021-41868 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-41868, GHSA-7g47-xxff-9p85, PYSEC-2026-434, UBUNTU-CVE-2021-41868.

Is CVE-2021-41868 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free