Cloudreve
Monthly
Concurrent upload-session requests in Cloudreve prior to 4.18.0 allow an authenticated user holding Files.Write permission - which the default User group provides - to bypass the per-account storage quota and reserve more space than the account is allowed, ultimately exhausting host disk and denying uploads to other users. The flaw is a time-of-check-to-time-of-use race: PrepareUpload validates capacity against a stale in-memory value while the actual storage charge is applied later and outside the same quota-enforcing transaction, so parallel requests that read the same snapshot all pass the MaxStorage check. Exploitation requires genuinely simultaneous requests and a valid low-privileged account, and impact is limited to availability (no data disclosure or code execution); no public exploit code was identified at time of analysis, and the issue is fixed in 4.18.0.
Privilege escalation via OAuth scope enforcement bypass affects Cloudreve self-hosted file management versions 4.12.0 through 4.16.0, where access tokens are issued without the client_id claim. Because the JWT verifier keys scope loading on client_id, a holder of a legitimately-issued low-scope OAuth access token can invoke APIs requiring higher scopes - file, share, workflow, user setting, WebDAV account, and potentially admin - as the enforcement layer degrades to non-scoped session authentication. No public exploit identified at time of analysis, but the root cause is confirmed by the vendor's fix commit and advisory GHSA-vgj4-345g-jcf8, with the issue resolved in 4.16.1.
Path traversal via improper authorization in Cloudreve's WebDAV handler lets a scoped WebDAV account escape its configured root folder, reading and listing files anywhere the server process can reach, and - with a writable credential - creating, overwriting, moving, or deleting them. All versions prior to 4.16.1 are affected. No public exploit is identified at time of analysis and it is not listed in CISA KEV, though the flaw is straightforward to trigger once a low-privileged WebDAV credential is held.
Revoked, expired, or download-limit-exhausted Cloudreve shares can still be mined for signed file URLs for up to 300 seconds because the file/url and file/thumb routes trust a client-supplied context_hint UUID and restore cached share navigator state without re-running the share validity or password checks (CWE-863, incorrectly cached authorization). All Cloudreve releases before 4.16.1 are affected; the independent assessment rates this moderate (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N), with remote attackers (CVSS PR:N) needing prior valid access to the share, knowledge of the target file URI from an earlier listing, and a pre-warmed hint, so this is a revocation/expiry bypass for already-known content rather than a way to discover unknown share contents. No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis, and a vendor patch is available.
Path traversal in Cloudreve before 4.16.1 lets an authenticated user write downloaded files outside the destination directory they selected, by supplying '..' segments in the file names reported by a configured remote downloader such as aria2. The vulnerability is graded very low (CVSS 4.0 2.3 with attack requirements AT:P; the independent assessment scores CVSS 3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N), because the attacker must control downloader-reported metadata rather than the downloaded HTTP body, and the misplaced writes remain confined to namespaces the user can already reach and are still subject to Cloudreve's normal permission and upload checks. No public exploit code was flagged by the available threat-intelligence feeds, and this CVE is not in CISA KEV; the upstream advisory does document a proof-of-concept harness that emulates an aria2 JSON-RPC service returning a traversal path.
Cloudreve before 4.17.0 applies only the Admin.Read OAuth scope to the admin node test endpoints (POST /api/v4/admin/node/test and POST /api/v4/admin/node/test/downloader), while the sibling node create, update, and delete routes correctly demand Admin.Write. An authenticated holder of an admin-authorized OAuth token carrying only Admin.Read can therefore submit crafted node definitions and force the Cloudreve server to make outbound requests to arbitrary URLs, yielding blind server-side request forgery, internal service probing, and delivery of signed Cloudreve slave-style requests to attacker-chosen hosts; because the responses are not returned to the caller, impact is limited to blind SSRF and availability-adjacent network effects rather than direct data disclosure. No public exploit code was identified at time of analysis, exploitation is not confirmed in CISA KEV, and the practical prerequisite is an environment where an administrator has granted an OAuth client the Admin.Read scope - a real but bounded prerequisite that is consistent with the medium (5.3) severity rating and the authenticated (PR:L) nature of the flaw. The vendor has released a patch in 4.17.0 and upstream fix commit 332a9d800205082a2469e555fd66a63f18d9d5dc.
Cloudreve instances running versions prior to 4.18.0 fail to enforce write-scope authorization on two admin tool routes, so an attacker who already holds a valid OAuth application or API key scoped to Admin.Read can exceed that token's read-only boundary. Concretely, the misconfigured wopi GET and mail POST endpoints let such an authenticated token holder (PR:H in the CVSS vector) probe configured WOPI service endpoints and send arbitrary test email through the server's SMTP configuration, with no user interaction required. Impact is bounded to information probing and SMTP misuse - confidentiality and integrity are each rated Low, availability is unaffected, and the overall CVSS base score is 3.8; no public exploit code has been identified at time of analysis and there is no indication of active exploitation. The exposure is realistic only in deployments that provision narrowly-scoped admin API tokens and treat Admin.Read as a true read-only boundary.
Server-side request forgery in Cloudreve prior to 4.18.0 allows an authenticated user with remote-download privileges to bypass the ValidateExternalURL guard and make the server fetch loopback, private, link-local, or cloud-metadata IPv4 addresses that are wrapped inside IPv4-in-IPv6 transition forms - NAT64 64:ff9b::/96, 6to4 2002::/16, Teredo 2001:0000::/32, or the deprecated IPv4-compatible ::a.b.c.d - because the guard classifies the wrapper rather than the address actually reached. The vulnerability is reachable through SrcUri in RemoteDownloadTask.createDownloadTask and requires authentication (CVSS PR:L), so it is not remotely exploitable by an anonymous attacker; exploitation also depends on the fetch host's network actually routing the chosen transition form to the embedded IPv4, making NAT64, dual-stack, and cloud-hosted deployments the realistic targets. Where a cloud metadata service is reachable, a successful request can return internal service responses and expose instance credentials; no public exploit code has been identified at time of analysis, and the issue is fixed in version 4.18.0.
Server-Side Request Forgery in Cloudreve's remote download workflow (versions prior to 4.16.1) enables authenticated users holding the remote download permission to direct the application server to fetch arbitrary internal URLs via POST /api/v4/workflow/download. Because the downloader accepted user-supplied URLs without validating loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, a low-privileged user could exfiltrate responses from internal services - including cloud instance metadata endpoints, internal APIs, or services bound to 127.0.0.1 - by reading the downloaded content from their own Cloudreve file storage. No public exploit has been identified at time of analysis; vendor-released patch 4.16.1 is available.
Cloudreve versions v1.0.0 through v3.5.3 are vulnerable to Stored Cross-Site Scripting (XSS), via the file upload functionality. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.
Concurrent upload-session requests in Cloudreve prior to 4.18.0 allow an authenticated user holding Files.Write permission - which the default User group provides - to bypass the per-account storage quota and reserve more space than the account is allowed, ultimately exhausting host disk and denying uploads to other users. The flaw is a time-of-check-to-time-of-use race: PrepareUpload validates capacity against a stale in-memory value while the actual storage charge is applied later and outside the same quota-enforcing transaction, so parallel requests that read the same snapshot all pass the MaxStorage check. Exploitation requires genuinely simultaneous requests and a valid low-privileged account, and impact is limited to availability (no data disclosure or code execution); no public exploit code was identified at time of analysis, and the issue is fixed in 4.18.0.
Privilege escalation via OAuth scope enforcement bypass affects Cloudreve self-hosted file management versions 4.12.0 through 4.16.0, where access tokens are issued without the client_id claim. Because the JWT verifier keys scope loading on client_id, a holder of a legitimately-issued low-scope OAuth access token can invoke APIs requiring higher scopes - file, share, workflow, user setting, WebDAV account, and potentially admin - as the enforcement layer degrades to non-scoped session authentication. No public exploit identified at time of analysis, but the root cause is confirmed by the vendor's fix commit and advisory GHSA-vgj4-345g-jcf8, with the issue resolved in 4.16.1.
Path traversal via improper authorization in Cloudreve's WebDAV handler lets a scoped WebDAV account escape its configured root folder, reading and listing files anywhere the server process can reach, and - with a writable credential - creating, overwriting, moving, or deleting them. All versions prior to 4.16.1 are affected. No public exploit is identified at time of analysis and it is not listed in CISA KEV, though the flaw is straightforward to trigger once a low-privileged WebDAV credential is held.
Revoked, expired, or download-limit-exhausted Cloudreve shares can still be mined for signed file URLs for up to 300 seconds because the file/url and file/thumb routes trust a client-supplied context_hint UUID and restore cached share navigator state without re-running the share validity or password checks (CWE-863, incorrectly cached authorization). All Cloudreve releases before 4.16.1 are affected; the independent assessment rates this moderate (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N), with remote attackers (CVSS PR:N) needing prior valid access to the share, knowledge of the target file URI from an earlier listing, and a pre-warmed hint, so this is a revocation/expiry bypass for already-known content rather than a way to discover unknown share contents. No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis, and a vendor patch is available.
Path traversal in Cloudreve before 4.16.1 lets an authenticated user write downloaded files outside the destination directory they selected, by supplying '..' segments in the file names reported by a configured remote downloader such as aria2. The vulnerability is graded very low (CVSS 4.0 2.3 with attack requirements AT:P; the independent assessment scores CVSS 3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N), because the attacker must control downloader-reported metadata rather than the downloaded HTTP body, and the misplaced writes remain confined to namespaces the user can already reach and are still subject to Cloudreve's normal permission and upload checks. No public exploit code was flagged by the available threat-intelligence feeds, and this CVE is not in CISA KEV; the upstream advisory does document a proof-of-concept harness that emulates an aria2 JSON-RPC service returning a traversal path.
Cloudreve before 4.17.0 applies only the Admin.Read OAuth scope to the admin node test endpoints (POST /api/v4/admin/node/test and POST /api/v4/admin/node/test/downloader), while the sibling node create, update, and delete routes correctly demand Admin.Write. An authenticated holder of an admin-authorized OAuth token carrying only Admin.Read can therefore submit crafted node definitions and force the Cloudreve server to make outbound requests to arbitrary URLs, yielding blind server-side request forgery, internal service probing, and delivery of signed Cloudreve slave-style requests to attacker-chosen hosts; because the responses are not returned to the caller, impact is limited to blind SSRF and availability-adjacent network effects rather than direct data disclosure. No public exploit code was identified at time of analysis, exploitation is not confirmed in CISA KEV, and the practical prerequisite is an environment where an administrator has granted an OAuth client the Admin.Read scope - a real but bounded prerequisite that is consistent with the medium (5.3) severity rating and the authenticated (PR:L) nature of the flaw. The vendor has released a patch in 4.17.0 and upstream fix commit 332a9d800205082a2469e555fd66a63f18d9d5dc.
Cloudreve instances running versions prior to 4.18.0 fail to enforce write-scope authorization on two admin tool routes, so an attacker who already holds a valid OAuth application or API key scoped to Admin.Read can exceed that token's read-only boundary. Concretely, the misconfigured wopi GET and mail POST endpoints let such an authenticated token holder (PR:H in the CVSS vector) probe configured WOPI service endpoints and send arbitrary test email through the server's SMTP configuration, with no user interaction required. Impact is bounded to information probing and SMTP misuse - confidentiality and integrity are each rated Low, availability is unaffected, and the overall CVSS base score is 3.8; no public exploit code has been identified at time of analysis and there is no indication of active exploitation. The exposure is realistic only in deployments that provision narrowly-scoped admin API tokens and treat Admin.Read as a true read-only boundary.
Server-side request forgery in Cloudreve prior to 4.18.0 allows an authenticated user with remote-download privileges to bypass the ValidateExternalURL guard and make the server fetch loopback, private, link-local, or cloud-metadata IPv4 addresses that are wrapped inside IPv4-in-IPv6 transition forms - NAT64 64:ff9b::/96, 6to4 2002::/16, Teredo 2001:0000::/32, or the deprecated IPv4-compatible ::a.b.c.d - because the guard classifies the wrapper rather than the address actually reached. The vulnerability is reachable through SrcUri in RemoteDownloadTask.createDownloadTask and requires authentication (CVSS PR:L), so it is not remotely exploitable by an anonymous attacker; exploitation also depends on the fetch host's network actually routing the chosen transition form to the embedded IPv4, making NAT64, dual-stack, and cloud-hosted deployments the realistic targets. Where a cloud metadata service is reachable, a successful request can return internal service responses and expose instance credentials; no public exploit code has been identified at time of analysis, and the issue is fixed in version 4.18.0.
Server-Side Request Forgery in Cloudreve's remote download workflow (versions prior to 4.16.1) enables authenticated users holding the remote download permission to direct the application server to fetch arbitrary internal URLs via POST /api/v4/workflow/download. Because the downloader accepted user-supplied URLs without validating loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, a low-privileged user could exfiltrate responses from internal services - including cloud instance metadata endpoints, internal APIs, or services bound to 127.0.0.1 - by reading the downloaded content from their own Cloudreve file storage. No public exploit has been identified at time of analysis; vendor-released patch 4.16.1 is available.
Cloudreve versions v1.0.0 through v3.5.3 are vulnerable to Stored Cross-Site Scripting (XSS), via the file upload functionality. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.