CVEfocus › CVE database › CVE-2026-77633

CVE-2026-77633Cloudreve: Storage-quota TOCTOU race allows quota bypass and storage-based denial of…

CVSS 7.1 HighEPSS 0.4% (higher than 23% of CVEs)Published 2026-09-22Updated 2026-09-25Assigner: GitHub_M

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.

CWE-362CWE-367CWE-770

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Go has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Go librarygithub.com/cloudreve/CloudreveFix pendingGO-2026-6578
Go librarygithub.com/cloudreve/Cloudreve/v3Fix pendingGO-2026-6578
Go librarygithub.com/cloudreve/Cloudreve/v4Fixed4.0.0-20260715025621-7329602751c0GHSA-xj3h-wwxq-gfcj

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.