# CVE-2022-31118: Missing brute force protection on cloud federation sharing in Nextcloud Server

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- 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.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-08-04T16:50:10.000Z
- Modified: 2026-06-17T04:44:50.450Z
- Weaknesses: CWE-307, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud server is an open source personal cloud solution. In affected versions an attacker could brute force to find if federated sharing is being used and potentially try to brute force access tokens for federated shares (`a-zA-Z0-9` ^ 15). It is recommended that the Nextcloud Server is upgraded to 22.2.9, 23.0.6 or 24.0.2. Users unable to upgrade may disable federated sharing via the Admin Sharing settings in `index.php/settings/admin/sharing`.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 22.2.9; >= 23.0.0, < 23.0.6; >= 24.0.0, < 24.0.2
- nextcloud nextcloud_server: before 22.2.9; from 23.0.0 before 23.0.6; from 24.0.0 before 24.0.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-2vwh-5v93-3vcq> (third-party-advisory)
- <https://github.com/nextcloud/server/pull/32843/commits/6eb692da7fe73c899cb6a8d2aa045eddb1f14018> (patch, third-party-advisory)

## Sources

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

---

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