What’s Vulnerable › Vulnerabilities
CVE-2022-31120: Federated share accepting/declining is not logged in audit log in Nextcloud Server
- Severity: low (CVSS 2.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-04 · updated 2026-06-17
- Weakness: CWE-778
Description
Nextcloud server is an open source personal cloud solution. The audit log is used to get a full trail of the actions which has been incompletely populated. In affected versions federated share events were not properly logged which would allow brute force attacks to go unnoticed. This behavior exacerbates the impact of CVE-2022-31118. It is recommended that the Nextcloud Server is upgraded to 22.2.7, 23.0.4 or 24.0.0. There are no workarounds available.
Affected products
- Nextcloud Server: before 22.2.7; from 23.0.0 before 23.0.4 — fixed in 22.2.7, 23.0.4
How to fix
Upgrade to a fixed version: Nextcloud Server 22.2.7, 23.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9qvg-7fwg-722x
- https://github.com/nextcloud/server/pull/31594/commits/1d8bf9a89c6856218802a1d365000a5831be8655
- https://portal.nextcloud.com/article/using-the-audit-log-44.html
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9qvg-7fwg-722x
- https://github.com/nextcloud/server/pull/31594/commits/1d8bf9a89c6856218802a1d365000a5831be8655
- https://portal.nextcloud.com/article/using-the-audit-log-44.html
Get alerted when CVE-2022-31120 or the next vulnerability affects your stack