{"id":"CVE-2026-125362","kind":"vulnerability","aliases":["CVE-2026-125362"],"related":[],"title":"Seahub: weak randomness lets attackers predict share link passwords","description":"Seahub through 14.0.10 contains a weak randomness vulnerability in MultiShareLinksBatch.post() that generates batch share link passwords using Python's non-cryptographic random.choices(). Authenticated users permitted to create share links can request many generated passwords via the multi-share-links batch endpoint, recover the Mersenne Twister state, and predict other users' share link passwords.","summary":"Seahub, the file-sharing web app behind Seafile, generates batch share link passwords with Python's non-cryptographic random.choices(). An authenticated user who collects enough generated passwords can recover the generator state and predict other users' share link passwords.","severity":"low","cvss":3.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","python","seafile","seahub","self-hosted"],"not_affected_if":["auth-required","managed-hosting","no-share-links"],"how_to_check":"- Check the installed Seahub version against the range through 14.0.10 in the sources.\n- Look for use of the multi-share-links batch endpoint in access logs if you run Seahub.","fix":null,"status":"open","published_at":"2026-11-10T00:17:07+00:00","first_seen_at":"2026-11-10T00:28:42+00:00","triaged_at":"2026-11-10T00:30:41+00:00","updated_at":"2026-11-10T00:30:41+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-10T00:30:41Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"Seahub: weak randomness lets attackers predict share link passwords","impact":"medium","summary":"Seahub, the file-sharing web app behind Seafile, generates batch share link passwords with Python's non-cryptographic random.choices(). An authenticated user who collects enough generated passwords can recover the generator state and predict other users' share link passwords.","audience":"businesses","category":"package","nicknames":[],"who_cares":["seahub","seafile","self-hosted","python"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"attacker predicts other users' share link passwords and reads their files","analyst_note":"Find the fixed Seahub version and patch details from the linked GitHub patch and VulnCheck advisory.","how_to_check":"- Check the installed Seahub version against the range through 14.0.10 in the sources.\n- Look for use of the multi-share-links batch endpoint in access logs if you run Seahub.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-share-links","managed-hosting","auth-required"],"who_is_affected":"Teams that run self-hosted Seahub or Seafile where users can create share links. Exposure requires an authenticated account allowed to create share links and use the batch endpoint. Sources do not state a fixed version, and the linked patch page was not read.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"low"},"cost_usd":0.00072,"input_tokens":4623,"output_tokens":515,"severity_before":"low"},"analyst_status":null,"analyst_note":null,"search":"'-125362':12A,15A '-2026':11A,14A '14.0.10':66C 'app':29B 'attack':5A 'authent':45B,87C 'batch':33B,76C,105C 'behind':30B 'collect':48B 'contain':67C 'creat':91C 'cryptograph':42B,85C 'cve':10A,13A 'endpoint':106C 'enough':49B 'file':26B 'file-shar':25B 'generat':32B,50B,55B,75C,97C 'host':22B 'let':4A 'link':8A,35B,62B,78C,93C,104C,117C 'mani':96C 'mersenn':109C 'multi':102C 'multi-share-link':101C 'multisharelinksbatch.post':73C 'non':41B,84C 'non-cryptograph':40B,83C 'packag':16B 'password':9A,36B,51B,63B,79C,98C,118C 'permit':89C 'predict':6A,58B,113C 'python':17B,38B,81C 'random':3A,70C 'random.choices':43B,86C 'recov':53B,107C 'request':95C 'seafil':18B,31B 'seahub':1A,19B,23B,64C 'self':21B 'self-host':20B 'share':7A,27B,34B,61B,77C,92C,103C,116C 'state':56B,111C 'twister':110C 'use':80C 'user':46B,60B,88C,115C 'via':99C 'vulner':71C 'weak':2A,69C 'web':28B","nicknames":[],"mitigations":[],"who_affected":"Teams that run self-hosted Seahub or Seafile where users can create share links. Exposure requires an authenticated account allowed to create share links and use the batch endpoint. Sources do not state a fixed version, and the linked patch page was not read.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["low","package","python","seafile","seahub","selfhosted"],"campaign_type":null,"search_a":"'-125362':12A,15A '-2026':11A,14A 'attack':5A 'cve':10A,13A 'let':4A 'link':8A 'password':9A 'predict':6A 'random':3A 'seahub':1A 'share':7A 'weak':2A","search_b":"'app':29B 'authent':45B 'batch':33B 'behind':30B 'collect':48B 'cryptograph':42B 'enough':49B 'file':26B 'file-shar':25B 'generat':32B,50B,55B 'host':22B 'link':35B,62B 'non':41B 'non-cryptograph':40B 'packag':16B 'password':36B,51B,63B 'predict':58B 'python':17B,38B 'random.choices':43B 'recov':53B 'seafil':18B,31B 'seahub':19B,23B 'self':21B 'self-host':20B 'share':27B,34B,61B 'state':56B 'user':46B,60B 'web':28B","search_c":"'14.0.10':66C 'authent':87C 'batch':76C,105C 'contain':67C 'creat':91C 'cryptograph':85C 'endpoint':106C 'generat':75C,97C 'link':78C,93C,104C,117C 'mani':96C 'mersenn':109C 'multi':102C 'multi-share-link':101C 'multisharelinksbatch.post':73C 'non':84C 'non-cryptograph':83C 'password':79C,98C,118C 'permit':89C 'predict':113C 'python':81C 'random':70C 'random.choices':86C 'recov':107C 'request':95C 'seahub':64C 'share':77C,92C,103C,116C 'state':111C 'twister':110C 'use':80C 'user':88C,115C 'via':99C 'vulner':71C 'weak':69C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-10T00:17:07+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-125362","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125362","severity":null,"published_at":"2026-11-10T00:17:07+00:00","modified_at":"2026-11-10T00:17:07+00:00","first_seen_at":"2026-11-10T00:28:42+00:00","fetched_at":"2026-11-10T00:28:42+00:00","note":null}],"documents":[{"id":111502,"url":"https://github.com/haiwen/seahub/commit/dd3ba0341031fd29cabe4855b548badde861df52","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":111503,"url":"https://www.vulncheck.com/advisories/seahub-through-14.0.10-predictable-share-link-passwords-via-batch-endpoint","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}