Security mailing lists by PureSourceCode

CVE-2026-77633

HIGH 7.1CVSS 3.1

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

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.

Published
22 Sep 2026
Last modified
1 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-362CWE-367CWE-770
Also known as
GHSA-xj3h-wwxq-gfcjGO-2026-6578
Sources
NVDJSONOSV GHSA-xj3h-wwxq-gfcjJSONOSV GO-2026-6578JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/cloudreve/Cloudreve/v4 < 4.0.0-20260715025621-7329602751c0 4.0.0-20260715025621-7329602751c0
OSV Go github.com/cloudreve/Cloudreve all versions
OSV Go github.com/cloudreve/Cloudreve/v3 all versions

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 22 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Oct 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.