CVE-2026-25726 | Cloudreve up to 4.12.x API Endpoint time.Now.UnixNano weak prng (GHSA-f8xp-wvcx-p6f4)
VulDBArchived Apr 04, 2026✓ Full text saved
A vulnerability identified as problematic has been detected in Cloudreve up to 4.12.x . This affects the function time.Now.UnixNano of the component API Endpoint . Performing a manipulation results in cryptographically weak prng. This vulnerability was named CVE-2026-25726 . The attack may be initiated remotely. There is no available exploit. You should upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-355204 · CVE-2026-25726 · GHSA-F8XP-WVCX-P6F4
CLOUDREVE UP TO 4.12.X API ENDPOINT TIME.NOW.UNIXNANO WEAK PRNG
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
5.8 $0-$5k 0.48+
Summaryinfo
A vulnerability labeled as problematic has been found in Cloudreve up to 4.12.x. This vulnerability affects the function time.Now.UnixNano of the component API Endpoint. Executing a manipulation can lead to weak prng. The identification of this vulnerability is CVE-2026-25726. The attack may be launched remotely. There is no exploit available. The affected component should be upgraded.
Detailsinfo
A vulnerability classified as problematic was found in Cloudreve up to 4.12.x. This vulnerability affects the function time.Now.UnixNano of the component API Endpoint. The manipulation with an unknown input leads to a weak prng vulnerability. The CWE definition for the vulnerability is CWE-338. The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong. As an impact it is known to affect confidentiality. CVE summarizes:
Cloudreve is a self-hosted file management and sharing system. Prior to version 4.13.0, the application uses the weak pseudo-random number generator math/rand seeded with time.Now().UnixNano() to generate critical security secrets, including the secret_key, and hash_id_salt. These secrets are generated upon first startup and persisted in the database. An attacker can exploit this by obtaining the administrator's account creation time (via public API endpoints) to narrow the search window for the PRNG seed, and use known hashid to validate the seed. By brute-forcing the seed (demonstrated to take <3 hours on general consumer PC), an attacker can predict the secret_key. This allows them to forge valid JSON Web Tokens (JWTs) for any user, including administrators, leading to full account takeover and privilege escalation. This issue has been patched in version 4.13.0.
The advisory is shared for download at github.com. This vulnerability was named CVE-2026-25726 since 02/05/2026. The exploitation appears to be difficult. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1600.001.
Upgrading to version 4.13.0 eliminates this vulnerability. The upgrade is hosted for download at github.com.
Productinfo
Type
Cloud Software
Name
Cloudreve
Version
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
4.12
Website
Product: https://github.com/cloudreve/cloudreve/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.8
VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.1
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Weak prng
CWE: CWE-338 / CWE-331 / CWE-330
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: Cloudreve 4.13.0
Timelineinfo
02/05/2026 CVE reserved
04/03/2026 +56 days Advisory disclosed
04/03/2026 +0 days VulDB entry created
04/03/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-f8xp-wvcx-p6f4
Status: Confirmed
CVE: CVE-2026-25726 (🔒)
GCVE (CVE): GCVE-0-2026-25726
GCVE (VulDB): GCVE-100-355204
Entryinfo
Created: 04/03/2026 23:28
Changes: 04/03/2026 23:28 (67)
Complete: 🔍
Cache ID: 99:D5C:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸