CVE-2026-77633
Deferred Deferred - Pending Action

Cloudreve Unauthenticated Storage Quota Bypass via Stale Capacity Check

Vulnerability report for CVE-2026-77633, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-22

Last updated on: 2026-09-22

Assigner: GitHub, Inc.

Description

Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, PrepareUpload in pkg/filemanager/fs/dbfs/upload.go checks a stale in-memory user storage value through validateUserCapacity and later applies an unconditional storage charge outside the same quota-enforcing transaction. An authenticated user with Files.Write permission can issue concurrent upload-session requests that read the same capacity snapshot, all pass the MaxStorage check, and reserve their declared sizes through CommitWithStorageDiff. The resulting reservations can exceed the account quota and can be materialized as chunked uploads that exhaust host storage and deny uploads to other users. The default local-storage policy and default User group are affected. This issue is fixed in version 4.18.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-22
Last Modified
2026-09-22
Generated
2026-09-22
AI Q&A
2026-09-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
cloudreve cloudreve to 4.18.0 (exc)
cloudreve cloudreve 4.18.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-362 The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Cloudreve allows an authenticated user with Files.Write permission to exploit a race condition in storage quota checks. The system checks a stale user storage value before applying storage charges, enabling concurrent upload requests to bypass quota limits. Multiple uploads can reserve storage simultaneously, exceeding the account quota and exhausting host storage.

Detection Guidance

Check Cloudreve version for outdated installations below 4.18.0. Monitor storage usage for unexpected spikes or unauthorized uploads. Review logs for concurrent upload-session requests from the same user. Verify user permissions for Files.Write access.

Impact Analysis

An attacker could exploit this to consume excessive storage, denying uploads to other users and potentially crashing the system. This may lead to data loss, service disruption, or unauthorized resource consumption on the host system.

Compliance Impact

This vulnerability could violate data integrity and availability requirements in GDPR and HIPAA. Excessive storage consumption may lead to unauthorized data retention or loss of access, conflicting with principles of data minimization and secure processing.

Mitigation Strategies

Upgrade Cloudreve to version 4.18.0 or later. Restrict Files.Write permissions to trusted users. Implement storage quotas and rate limiting. Monitor disk space and user upload activity for anomalies.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-77633. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart