CVE-2026-77633
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/cloudreve/Cloudreve/v4Go | < 4.0.0-20260715025621-7329602751c0 | 4.0.0-20260715025621-7329602751c0 |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-xj3h-wwxq-gfcjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-77633ghsaADVISORY
- github.com/cloudreve/cloudreve/commit/7329602751c00bb4136fe9ad8b364d0df70773dfnvdWEB
- github.com/cloudreve/cloudreve/releases/tag/4.18.0nvdWEB
- github.com/cloudreve/cloudreve/security/advisories/GHSA-xj3h-wwxq-gfcjnvdWEB
News mentions
0No linked articles in our index yet.