# CVE-2022-31120: Federated share accepting/declining is not logged in audit log in Nextcloud Server

- Severity: Low 2.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-08-04T17:00:24.000Z
- Modified: 2026-06-17T04:44:50.697Z
- Weaknesses: CWE-778
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 23.0.0, < 23.0.4; < 22.2.7
- nextcloud nextcloud_server: before 22.2.7; from 23.0.0 before 23.0.4

## Every score

- GitHub_M: CVSS:3.1 2.1 Low `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 2.7 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9qvg-7fwg-722x> (third-party-advisory)
- <https://github.com/nextcloud/server/pull/31594/commits/1d8bf9a89c6856218802a1d365000a5831be8655> (patch, third-party-advisory)
- <https://portal.nextcloud.com/article/using-the-audit-log-44.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-31120](https://www.cve.org/CVERecord?id=CVE-2022-31120), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31120](https://nvd.nist.gov/vuln/detail/CVE-2022-31120), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31120 · Whole record: https://cve.day/CVE-2022-31120.json · Rebuilt by cve.day 2026-11-25T22:58:13.392Z
