Skip to content
Heist/ feed
High

Cloudreve: Storage-quota TOCTOU race allows quota bypass and storage-based denial of service

Type: advisorySource: Official CVE ListRisk context updated1 source record

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.

Announced Source revision 2
Original source ↗
CVE context updated. The publisher announcement is unchanged.

CVE-2026-77633

Primary source · Revision 2

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-77633

cloudreve

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "cloudreve",
    "product": "cloudreve",
    "versions": [
      {
        "status": "affected",
        "version": "< 4.18.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-77633

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

CVE-2026-77633 · High

github.com/cloudreve/Cloudreve/v4

Event
#63880 · Revision 2
Added to Heist Feed
Publisher date
Read the original announcement