{"id":"CVE-2026-125362","summary":"Seahub through 14.0.10 Predictable Share Link Passwords via Batch Endpoint","details":"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.","modified":"2026-11-15T02:31:05.579554006Z","published":"2026-11-09T23:27:35.716Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-338"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125362.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125362.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125362"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/seahub-through-14.0.10-predictable-share-link-passwords-via-batch-endpoint"},{"type":"REPORT","url":"https://github.com/haiwen/seahub/issues/9687"},{"type":"FIX","url":"https://github.com/haiwen/seahub/commit/dd3ba0341031fd29cabe4855b548badde861df52"},{"type":"PACKAGE","url":"https://github.com/haiwen/seahub"},{"type":"ARTICLE","url":"https://github.com/haiwen/seahub/blob/v14.0.10-pro/seahub/api2/endpoints/multi_share_links.py#L502-L512"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/haiwen/seahub","events":[{"introduced":"0"},{"fixed":"dd3ba0341031fd29cabe4855b548badde861df52"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"14.0.10"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"dd3ba0341031fd29cabe4855b548badde861df52"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.2.2-server","v4.2.0-pro","v4.2.1-server","v4.2.0-server","v4.1.2-server","v4.1.0-pro","v4.1.1-server","v4.1.0-server","v4.0.0-pro","v4.0.1-server","v4.0.0-server","v3.1.7-server","v3.1.2-server-testing","v3.1.1-server","v3.1.1-server-testing","v3.1.0-server-testing","v2.1.3-testing","v2.1.3-server-testing","v2.1.3-server","v2.1.0-server-testing","v2.0.2-server","v2.0.1-pro","v1.7.0.2","v1.7.0","v1.6.0","v1.6.0-preview","v1.5.1","v1.5.0","v1.5.1-server","v1.4.0","1.2.0","0.9.3","0.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125362.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}