CVE-2022-31118: nextcloud nextcloud_server
Vulnerability summary
CVE-2022-31118 is a medium (CVSS 6.5) vulnerability in nextcloud nextcloud_server. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 54% of scored vulnerabilities.
Timeline
- 04-08-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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`.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.74%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.02 pp
From 0.73% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
- CWE-307Improper Restriction of Excessive Authentication AttemptsThe product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.
Affected systems
Nextcloud2 products
- nextcloud_server< 22.2.9 | ≥ 23.0.0, < 23.0.6 | ≥ 24.0.0, < 24.0.2
- security-advisories< 22.2.9 | ≥ 23.0.0, < 23.0.6 | ≥ 24.0.0, < 24.0.2
1 vendor · 2 products
References
2 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-2vwh-5v93-3vcqX Refsource CONFIRMThird Party Advisory
- github.com/nextcloud/server/pull/32843/commits/6eb692da7fe73c899cb6a8d2aa045eddb1f14018X Refsource MISCPatchThird Party Advisory