CVE Catalog

CVE-2026-77633

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Summary

Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, PrepareUpload checks a stale in-memory user storage value 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, exceeding the account quota and exhausting host storage.

Risk Assessment

An attacker can exhaust host storage, causing denial of uploads for other users. This may lead to service unavailability and breach of system integrity.

Recommendation

Update Cloudreve to version 4.18.0 or later. Until then, monitor for unusual upload patterns and consider restricting Files.Write permissions.

Other vulnerabilities in Cloudreve

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS