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

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.46%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-04T13:45:49.000Z
- Modified: 2026-07-01T20:22:59.378Z
- Also known as: GHSA-7g47-xxff-9p85, PYSEC-2026-434
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- onionshare-cli (PyPI): from 2.3 before 2.4
- onionshare onionshare: from 2.3 before 2.4

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.ihteam.net/advisory/onionshare/> (exploit, third-party-advisory)
- <https://github.com/onionshare/onionshare/compare/v2.3.3...v2.4> (patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41868> (advisory)
- <https://github.com/onionshare/onionshare/issues/1396> (web)
- <https://github.com/onionshare/onionshare/pull/1404> (web)
- <https://github.com/onionshare/onionshare> (package)
- <https://www.ihteam.net/advisory/onionshare> (web)
- <https://pypi.org/project/onionshare-cli> (package)
- <https://github.com/advisories/GHSA-7g47-xxff-9p85> (advisory)

## Sources

- CVE List: [CVE-2021-41868](https://www.cve.org/CVERecord?id=CVE-2021-41868), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-7g47-xxff-9p85](https://github.com/advisories/GHSA-7g47-xxff-9p85), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2021-41868](https://nvd.nist.gov/vuln/detail/CVE-2021-41868), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-434](https://osv.dev/vulnerability/PYSEC-2026-434), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2021-41868 · Whole record: https://cve.day/CVE-2021-41868.json · Rebuilt by cve.day 2026-11-25T22:58:04.273Z
