Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as share-link-capable user
-
DeliveryBatch-request many auto-generated passwords
-
ExploitReconstruct Mersenne Twister state
-
ExecutionPredict other users' share-link passwords
-
ImpactAccess protected shared content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic PRNG selection
|
| Exploitation Conditions | Exploitation requires an authenticated Seahub account (PR:L) whose user is permitted to create share links, and the auto_generate_password path of the multi-share-links batch endpoint (MultiShareLinksBatch.post()) must be exercised to emit passwords from the shared process-wide random module. The attacker must request a large number of generated passwords to reconstruct the Mersenne Twister state, which is why attack complexity is High (AC:H) and an attack requirement applies (AT:P). Limiting factors: only authenticated, share-link-capable users can reach the endpoint; the impact is confined to predicting other users' share-link passwords (VC:L, no integrity or availability impact); and predicted passwords are only useful to an attacker who can also reach the corresponding share links. Affects Seahub through 14.0.10; fixed by commit dd3ba0341031fd29cabe4855b548badde861df52, which switches to the cryptographically secure get_random_string(). |
| Impact | This is a genuinely low-priority issue, and the multiple signals agree. The vendor-assigned CVSS 4.0 score is 2.3 (Low), driven by AV:N but offset by AC:H (reconstructing the Mersenne Twister state requires collecting many observed outputs), AT:P (a specific attack requirement/precondition applies), PR:L (the attacker must be an authenticated user permitted to create share links), and only VC:L impact (no integrity or availability impact). No EPSS score is provided in the input, there is no CISA KEV listing (confirmed actively exploited status is absent), and no working exploit code is referenced. The vuln.today Decision label is 'monitor', which is consistent with the low severity and the absence of exploitation signals. The practical risk is bounded: even a successful attacker only recovers share-link passwords, and a share link typically still requires knowledge of the link token/URL to be useful, so the real-world confidentiality impact is marginal. Note one nuance: the CVSS vector is CVSS 4.0 only - no CVSS 3.1 vector was supplied - and no EPSS value accompanies it, so the probabilistic exploitation signal is missing rather than low. |
| Exploit ScenarioDerived | An authenticated Seahub user who is allowed to create share links repeatedly calls the multi-share-links batch endpoint to harvest many auto-generated 8-character passwords produced by Python's non-cryptographic random.choices(). From enough observed outputs they reconstruct the process-wide Mersenne Twister state and then predict passwords generated for other users' share links. No public exploit code is identified in the provided data, and the high attack complexity (AC:H) reflects the volume of observations needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Seahub through 14.0.10 generates auto-created share-link passwords with Python's non-cryptographic random.choices() from the process-wide Mersenne Twister instance, so an authenticated user allowed to create share links can drive the multi-share-links batch endpoint (MultiShareLinksBatch.post()) to emit many generated passwords and reconstruct the RNG state to predict passwords subsequently issued to other users. The exposure is limited to confidentiality of share-link passwords (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N), exploitation is restricted to authenticated, share-link-capable accounts and requires a large volume of generated outputs, and predicted passwords are only useful to someone who can also reach the corresponding share links. No public exploit code or active exploitation was identified at time of analysis; the vendor addressed the flaw in commit dd3ba0341031fd29cabe4855b548badde861df52 by switching to django.utils.crypto.get_random_string().
RemediationAI
Apply the upstream fix commit dd3ba0341031fd29cabe4855b548badde861df52, which replaces the random.choices()-based password generator with django.utils.crypto.get_random_string(); no tagged patched release version is confirmed in the available data, so confirm with the vendor advisory (https://www.vulncheck.com/advisories/seahub-through-14.0.10-predictable-share-link-passwords-via-batch-endpoint) and the tracking issue (https://github.com/haiwen/seahub/issues/9687) before assuming a given release contains it. Because the flaw leaks password values generated while the vulnerable process is running, plan to rotate or regenerate share-link passwords created before the fix is deployed. If the commit cannot be applied promptly, the actionable compensating controls are to restrict who may create share links (removing share-link creation permission from untrusted or low-trust accounts, which shrinks the pool of accounts able to observe generator output) and to rate-limit or block access to the multi-share-links batch endpoint at the reverse proxy, accepting that both measures degrade functionality for legitimate bulk share-link workflows rather than eliminating the weakness.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is use of a non-cryptographic pseudo-random generator for a security-sensitive value (CWE-338, Use of Cryptographically Weak Pseudo-Random Number Generator). In the affected code path, an inner generate_password() helper imported Python's random module and built an 8-character password with random.choices() over string.ascii_letters + string.digits + string.punctuation. Python's random module is backed by a Mersenne Twister whose state is process-wide and shared across all callers; as the upstream commit message states, that state can be reconstructed from enough observed output, which makes passwords generated later in the same process predictable. The batch endpoint is what makes observation practical: MultiShareLinksBatch.post() issues multiple auto-generated passwords in a single request, giving an authenticated share-link creator a high-volume oracle into the shared generator. The fix replaces the local helper with a module-level generate_share_link_password() built on django.utils.crypto.get_random_string(8, characters) and adds regression tests asserting that output is not reproducible from a known random seed and that passwords retain the expected 8-character shape and alphabet. The vulnerable surface is the Seahub web frontend of the Seafile server; the underlying storage, sync protocol and Seafile daemon components are not implicated by the available evidence.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated share-link creator (PR:L), network-reachable endpoint (AV:N), many observations needed to recover PRNG state (AC:H), and only predictable passwords disclosed (C:L, I/A:N).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-120525
GHSA-6jc7-hvrq-rjqm
NVD
CVE.org
EPSS
Exploit-DB