OnionShare
onionshare.orgWindows, Mac OS, LinuxAn open source tool that lets you securely and anonymously share a file of any size, via Tor servers. OnionShare does require installing, but the benefit is that your files are transferred directly to the recipient, without needing to be hosted on an interim server. The host needs to remain connected for the duration of the transfer, but once it is complete, the process will be terminated.
- Homepage:onionshare.org
- GitHub:github.com/micahflee/onionshare
- Web info:web-check.xyz/check/onionshare.org
OnionShare Source Code
Author
Description
Securely and anonymously share files, host websites, and chat with friends using the Tor network
Homepage
https://onionshare.org/Repository
- LicenseOther
- Created20 May 14
- Primary languagePython
- Size45,155 KB
- Stars7,249
- Forks747
- Watchers7,249
Top Contributors
@micahflee (2943)
@mig5 (1040)
@SaptakS (317)
@weblate (227)
@emmapeel2 (180)
@comradekingu (58)
@gjwentink (36)
@delirious-lettuce (36)
@ujdhesa (25)
@jxtsai (24)
@lwesterhof (22)
@tictactoe101 (21)
@scootergrisen (19)
@dodog (17)
@Matthaiks (17)
@StoyanDimitrov (16)
@NoisyCoil (14)
@hiromipaw (14)
@whew (13)
@xinxinxinxinxin (13)
@u451f (13)
@IhorHordiichuk (13)
@Baccount (12)
@milotype (12)
@egypcio (11)
@irykoon (11)
@ThomasWaldmann (11)
@Gabboxl (11)
@aindriu80 (10)
@enotodden (10)
@r4v5 (10)
@mdaleo404 (10)
@kapatych-be (10)
@garrettr (9)
@anastr0 (9)
@KF3HhNASPm (9)
@tachyglossues (8)
@norhorn (8)
@citizen204 (8)
@sveinki (8)
@kushaldas (8)
@Ecron (7)
@eduardoaddad (7)
@Kcchouette (7)
@oersen (7)
@nocturnalfilth (7)
@MarongHappy (6)
@nyxnor (6)
@ChanoSan (6)
@siddhantdixit (6)
@Ricky-Tigg (6)
@Marcoscorycruz (6)
@glenn-sorrentino-personal (6)
@Venca24 (5)
@Akuankkis (5)
@jawlenskys (5)
@kkka (5)
@eulaliob (5)
@dependabot[bot] (5)
@a1346054 (5)
@danialbehzadi (5)
@olavinto (5)
@sudwhiwdh (4)
@SantosSi (4)
@ORARiccardo (4)
@jvoisin (4)
@NorwayFun (4)
@bi3n3k3rn (4)
@joshuathayer (4)
@joshbegley (4)
@illia-v (4)
@Gerijacki (4)
@ecmendenhall (4)
@b3sigma (3)
@softinterlingua (3)
@tcyrus (3)
@choltz95 (3)
@drebs (3)
@joke2k (3)
@leonardoporpora (3)
@wondratsch (3)
@carlosm2 (3)
@canerbasaran (3)
@BotMaster3000 (3)
@arifpedia (3)
@70h (3)
@jayhemnani9910 (3)
@kscanne (3)
@kishinsagi (3)
@mansil (3)
@cryptostone (3)
@letri1412 (3)
@Oymate (3)
@rezaparsanilo (3)
@misjoinder (2)
@WofWca (2)
@ZeroDot1 (2)
@albanobattistella (2)
@haqistan (2)
@fadelkon (2)
Recent Commits
Miguel Jacq(27 Nov 26)
CLI: let --auto-stop-timer be shorter than --auto-start-timer The auto-stop timer starts counting once the service has started, which is after the auto-start delay. So "start in 1 hour, stop after 30 minutes" is a valid schedule, but it was refused with "The auto-stop time can't be the same or earlier than the auto-start time", and the help text said both timers count "from now". Remove that check, and say in the help and docs that the service stops N seconds after it starts.
Miguel Jacq(27 Nov 26)
Share mode: only report a download as started once the file is being sent; handle disconnects from individual files The desktop app only stops a share at its scheduled time once no download is in progress, but a HEAD or 304 response to /download was counted as a started download and never finished, so the share stayed up. Report the download as started when the file starts being sent. Also handle a visitor disconnecting from an individual file download (GeneratorExit), which left the share looking busy.
Miguel Jacq(26 Nov 26)
Download mode: open the folder, not the downloaded file, from the history On Linux/BSD the folder button of a Download mode history item ran xdg-open on the downloaded file itself, whose name, type and contents come from the remote share, so clicking it could open e.g. an HTML file in a non-Tor browser. Open its folder instead, as Receive mode does.
Miguel Jacq(27 Nov 26)
Update checker: compare versions numerically Versions were compared as strings, so 2.10.0 counted as older than 2.7.3 and the update check would not report it. Compare them as versions, and only accept ASCII digits.
mig5(30 Nov 26)
Merge commit from fork Cap chat request bodies and harden chat input handling
Saptak Sengupta(26 Nov 26)
Merge pull request #2171 from onionshare/mig/re-remove-onionshare-cli-desktop Remove onionshare-cli from the desktop so as not to collide with CLI
Miguel Jacq(26 Nov 26)
Cap chat request bodies and harden chat input handling The /update-session-username handler called request.get_json() with no size limit, so a participant could POST a huge body that was buffered and parsed into memory before the username was validated, stalling or OOM-killing the service. Set MAX_CONTENT_LENGTH on the chat Flask app, so a body whose Content-Length is over 64 KiB is rejected with 413 without being read, and a chunked body is only read up to the cap. Also harden chat input handling: - Treat a body that isn't a JSON object as giving no username, and a username that isn't a string as invalid, instead of returning 500 - Check a username's length before sanitizing it, so a long name sent over Socket.IO doesn't block the server - Ignore update_username and text Socket.IO events whose payload isn't an object with a string value, instead of raising
mig5(26 Nov 26)
Merge pull request #2169 from jayhemnani9910/fix/share-files-next-to-folders Share selected files that sit next to a selected folder
mig5(26 Nov 26)
Merge pull request #2168 from jayhemnani9910/fix/share-same-name-files Keep shared files and folders that have the same name
Miguel Jacq(26 Nov 26)
Remove onionshare-cli from Flatpak desktop build too
Miguel Jacq(26 Nov 26)
Remove onionshare-cli from the desktop so as not to collide with CLI This was accidentally reintroduced in #2053 after having been fixed separately already in #2012.
Miguel Jacq(26 Nov 26)
Keep containment check for a single symlinked folder Use the real folder as the root when the only selected item is a symlink to a folder, and treat an empty root list as containing nothing instead of everything. Also fix containment for a selected filesystem or drive root, which already ends with a separator.
Miguel Jacq(26 Nov 26)
Harden unique naming of same-named shared items Share a path given more than once only once, and name only the items that are actually shared, so skipped symlinks don't take a name. Build zip entry names from path components in ZipWriter.add_dir, so they don't depend on the slash type or a trailing slash, and can never point outside the archive.
mig5(26 Nov 26)
Merge pull request #2167 from jtoledo3970/fix/meek-missing-builtin-bridges Keep existing built-in bridges when the meek client is missing
Miguel Jacq(26 Nov 26)
Reject backslashes in built-in bridge lines A backslash at the end of a torrc line joins it to the next one, so don't accept them in bridge lines fetched from the Tor API or cached in settings. Also remove test file I accidentally committed :)
Miguel Jacq(26 Nov 26)
Harden bridge handling for missing binaries and Moat failures Follow-up to #2167. - Never let update_builtin_bridges() raise: also catch CensorshipCircumventionError (over Tor and Meek) and CannotFindTor, keeping the existing bridges - Start Meek with the same get_tor_paths that Onion was given, so the desktop app finds its bundled meek-client - Add a timeout to all Moat API requests - Validate built-in bridge lines before saving them and before writing them to the torrc - Give MeekNotFound and MeekNotRunning readable messages - Fail early, naming the missing program, when the bridges in use need obfs4proxy, snowflake-client or webtunnel-client and it can't be found, instead of waiting at 0% until the connection times out
Jay Hemnani(25 Nov 26)
Share selected files that sit next to a selected folder Since the symlink check, only selected folders were allowed roots, so a file shared together with a folder (report.pdf + photos/, or index.html + css/ in website mode) was dropped from the file list, the zip and the website. Allow the selected files as roots too.
Jose Toledo(24 Nov 26)
Keep existing built-in bridges when meek client is missing
Jay Hemnani(23 Nov 26)
Keep shared files and folders that have the same name
mig5(22 Nov 26)
Merge pull request #2166 from onionshare/mig/prep-2.7.3 Prep 2.7.3
Miguel Jacq(22 Nov 26)
Update snowflake v.2.15.4 go dependencies for flatpak
Miguel Jacq(22 Nov 26)
Update Snowflake to v2.15.4
Miguel Jacq(22 Nov 26)
Update flatpak dependencies
Miguel Jacq(22 Nov 26)
Update snap dependencies
Miguel Jacq(22 Nov 26)
Update docs dependencies
Miguel Jacq(22 Nov 26)
Update desktop dependencies
Miguel Jacq(22 Nov 26)
Update CLI dependencies
Miguel Jacq(22 Nov 26)
Update version to 2.7.3
Miguel Jacq(22 Nov 26)
Update CHANGELOG
mig5(22 Nov 26)
Merge pull request #2163 from jayhemnani9910/fix/receive-non-ascii-filenames Keep received files whose names are not in Latin script
OnionShare Security
Security Advisories (19)
- mediumPatchedCVSS 5.3
GHSA-c2xx-7wjr-f25xOnionShare's receive mode file-upload rejection buffers the entire attacker-chosen request body in an unbounded in-memory sink before refusing it, so an unauthenticated remote sender can drive attacker-sized transient memory allocations on the operator's host
- lowPatched
GHSA-vc3q-8pwp-9hw6onionshare-cli keeps sharing after "stop sharing after files have been sent"; chat username cleaning is not applied
- mediumPatchedCVSS 4.8
GHSA-2pj7-hh2q-hjrhOnionShare share mode single-file download bypasses the CVE-2026-54706 symlink guard and discloses files outside the shared set
- mediumPatchedCVSS 5.4
CVE-2026-54707OnionShare Receive mode writes uploaded files even when file uploads are disabled
- mediumPatchedCVSS 4.8
CVE-2026-54706OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files
- lowPatched
GHSA-24m9-8mf9-pqrjTTP-03-007 WP4: History tab handles newlines incorrectly (Info)
- lowPatched
GHSA-pmjc-j5gp-7hcjTTP-03-005 WP4: Potential DoS of address in receive mode
- mediumPatched
GHSA-9mxm-qp84-xgx6TTP-03-009 WP4: Chat users can spoof names via control characters
- highPatched
GHSA-r78w-rpvr-g57qTTP-03-008 WP4: Joining chat without broadcast message
- highPatched
GHSA-wh24-f3hg-r3h2TTP-03-006 WP4: Spoofable disconnection in chat mode
- lowPatched
CVE-2022-21696OTF-005: Improper Input Sanitation: It is possible to change the username to that of another chat participant with an additional space character at the end of the name string
- lowPatched
CVE-2022-21694OTF-006: Broken Website Hardening Control: The CSP can be turned on or off but not configured for the specific needs of the website
- lowPatched
CVE-2022-21695OTF-009: Improper Access Control: Authenticated users (or unauthenticated in public mode) can send messages without being visible in the list of chat participants
- lowPatched
CVE-2022-21693OTF-013: Improper Hardening: The filesystem restriction could be hardened and should only allow for pre-defined subfolders
- mediumPatched
CVE-2022-21692OTF-003: Improper Access Control: Anyone with access to the chat environment can write messages disguised as another chat participant
- mediumPatched
CVE-2022-21691OTF-004: Improper Access Control: Chat participants can spoof their channel leave message, tricking others into assuming they left the chatroom
- mediumPatched
CVE-2022-21689OTF-012: Denial of Service: The receive mode limits concurrent uploads to 100 per second and blocks other uploads in the same second, which can be triggered by a simple script
- highPatched
CVE-2022-21690OTF-001: Improper Input Sanitation: The path parameter of the requested URL is not sanitized before being passed to the QT frontend
- highPatched
CVE-2022-21688OTF-014: Out-of-bounds Read: The desktop application was found to be vulnerable to denial of service via an undisclosed vulnerability in the QT image parsing
OnionShare Website
Website
OnionShare
OnionShare is a tool for anonymous peer-to-peer file sharing, chatting, and web hosting.
Redirects
Does not redirect
Security Checks
All 65 security checks passed
Server Details
- IP Address178.128.10.165
- Hostnameonionshare.org
- LocationSanta Clara,California,United States of America,NA
- ISPDigitalOcean LLC
- ASNAS14061
Associated Countries
US
Safety Score
Website marked as safe
100%
Trackers
No known trackers found
Blacklist Check
onionshare.org was found on 0 blacklists
- AntiSocial Blacklist
- Artists Against 419
- Badbitcoin
- Bambenek Consulting
- CERT Polska
- CoinBlockerLists
- CRDF
- CryptoScamDB
- EtherAddressLookup
- EtherScamDB
- Fake Website Buster
- MetaMask EthPhishing
- NABP Not Recommended Sites
- OpenPhish
- PetScams
- PhishFeed
- PhishFort
- Phishing.Database
- PhishStats
- PhishTank
- Phishunt
- RPiList Not Serious
- Scam.Directory
- SecureReload Phishing List
- Spam404
- StopGunScams
- Suspicious Hosting IP
- ThreatFox
- ThreatLog
- TweetFeed
- URLhaus
- ViriBack C2 Tracker
Website Preview
OnionShare Reviews
More File Drop
⚠️ This section is still a work in progress ⚠️
Check back soon, or help us complete it by submiting a pull request on GitHub.
Or submit an entry here
About the Data: OnionShare
Edit OnionShare Data
You can edit OnionShare's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external
sources, a list of these can be found data documentation.
Origin Data
Modify Data
API
You can access OnionShare's data programmatically via our API. Simply make a GET request to:
https://api.awesome-privacy.xyz/v1/services/onionshareThe REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.
Share OnionShare
Help your friends compare File Drop, and pick privacy-respecting software and services.
Share OnionShare and Awesome Privacy with your network!