Cloudreve: Inactive/banned account emails leaked via GET /api/v4/user/search because SearchActive() omits the active-status predicate
Description
Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, GET /api/v4/user/search calls SearchActive without adding a StatusActive predicate and serializes matches at RedactLevelUser, allowing any logged-in user to enumerate email addresses and profile metadata for inactive or banned accounts. The service calls userClient.SearchActive, but despite its name that method filters only by email/nickname keyword and never adds a StatusActive predicate — while the sibling lookups GetActiveByID and GetActiveByDavAccount, defined a few lines above it, do. Search hits are serialized at RedactLevelUser, which includes the email address. This issue is fixed in version 4.17.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-20260613023921-7e1289d55279 | 4.0.0-20260613023921-7e1289d55279 |
github.com/cloudreve/Cloudreve/v3Go | <= 3.0.0-20250225100611-da4e44b77af4 | — |
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-8r7f-r8hj-r3rvghsaADVISORY
- github.com/cloudreve/cloudreve/commit/7e1289d552794bdbeb551be78456115c87dcb3daghsax_refsource_MISCWEB
- github.com/cloudreve/cloudreve/releases/tag/4.17.0ghsax_refsource_MISCWEB
- github.com/cloudreve/cloudreve/security/advisories/GHSA-8r7f-r8hj-r3rvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.