CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-62323

mediumCVSS 6.3covered by 2 sourcesfirst seen 2026-07-24
Summary Cloudreve WOPI access tokens are generated as <session-id>.<random-secret>, but the WOPI middleware validates only the session id prefix and never compares the supplied token to the stored token. In addition, a WOPI viewer session does not store or enforce the requested viewer action. A session created for a view or preview action can still call WOPI write routes if the underlying file is writable by the session user. Impact A WOPI integration that is only expected to view a user's file can modify that file through the WOPI write endpoints. If the WOPI URL or session id leaks, the random token suffix does not protect the session because any suffix is accepted for an existing session id. This affects deployments that configure WOPI viewers for user files. The attacker primitive is strongest when a malicious or compromised WOPI viewer receives a view-only URL and then writes content back to Cloudreve. Affected version Verified in source and runtime on latest master commit ba2e870bbd17f1918dd2321de861e453f696d6a3 and latest observed tag 4.16.1. Technical details Cloudreve creates WOPI viewer sessions in pkg/filemanager/manager/viewer.go: sessionID := uuid.Must(uuid.NewV4()).String() token := util.RandStringRunesCrypto(128) sessionCache := &ViewerSessionCache{ ID: sessionID, Uri: file.Uri(false).String(), UserID: m.user.ID, ViewerID: viewer.ID, FileID: file.ID(), Version: version, Token: fmt.Sprintf("%s.%s", sessionID, token), } The token includes a 128-character random suffix, but middleware.ViewerSessionValidation() only uses the prefix before the dot: accessToken := strings.Split(c.Query(wopi.AccessTokenQuery), ".") if len(accessToken) != 2 { ... } sessionRaw, exist := store.Get(manager.ViewerSessionCachePrefix + accessToken[0]) The middleware checks that the file id matches the loaded session, but it never compares c.Query("access_token") with session.Token. As a result, <valid-session-id>.anything is accepted. The WOPI routes are exposed witho

⚡ Watch CVE-2026-62323

Get an email if CVE-2026-62323 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (2)

External references

NVD record for CVE-2026-62323

CVE.org record

Embed the live status

CVE-2026-62323 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-62323 status](https://www.csirts.com/badge/CVE-2026-62323)](https://www.csirts.com/cve/CVE-2026-62323)