CVE-2026-125362
Seahub through 14.0.10 contains a weak randomness vulnerability in MultiShareLinksBatch.post() that generates batch share link passwords using Python's non-cry…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read.
Affected products · Haiwen
| Product | Affected versions |
|---|---|
| Seahub | through 14.0.10 Version 0 ≤14.0.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/haiwen/seahub/issues/9687
- https://github.com/haiwen/seahub
- https://github.com/haiwen/seahub/blob/v14.0.10-pro/seahub/api2/endpoints/multi_share_links.py#L502-L512
- https://github.com/haiwen/seahub/commit/dd3ba0341031fd29cabe4855b548badde861df52
- https://www.vulncheck.com/advisories/seahub-through-14.0.10-predictable-share-link-passwords-via-batch-endpoint
- https://github.com/advisories/GHSA-6jc7-hvrq-rjqm
- https://nvd.nist.gov/vuln/detail/CVE-2026-125362