CVE-2023-25162: Nextcloud Server vulnerable to SSRF via filter bypass due to lax checking on IPs

CVE-2023-25162 affects 74 listed versions of Nextcloud in the Dawnsentry catalogue.

5.3CVSS medium
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
13 February 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Nextcloud

74 of 250 listed versions are affected. Fixed in 23.0.12. The newest release, 35.0.3, is not affected.

22.2.11 22.2.10.42 22.2.10.39 22.2.10.35 22.2.10.33 22.2.10.23 22.2.10.22 22.2.10.16 22.2.10.15 22.2.10.14 22.2.10.13 22.2.10.12 22.2.10.11 22.2.10.10 22.2.10.5 22.1.1 22.1.0 22.0.0 21.0.9.23 21.0.9.20 21.0.9.18 21.0.9.17 21.0.9.13 21.0.9.12 21.0.9.11 21.0.9.10 21.0.9.5 21.0.9 21.0.8 21.0.7 21.0.6 21.0.5 21.0.4 20.0.14.16 20.0.14.15 20.0.14.14 20.0.14.12 20.0.14.6 20.0.14.4 20.0.14 20.0.13 20.0.12 20.0.11 20.0.10 20.0.9 20.0.8 20.0.7 20.0.6 19.0.13.10 19.0.13.9 19.0.13.7 19.0.13 19.0.12 19.0.11 19.0.10 19.0.9 19.0.8 19.0.7 19.0.6 19.0.5 and 14 more

What it is

Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Nextcloud Server prior to 24.0.8 and 23.0.12 and Nextcloud Enterprise server prior to 24.0.8 and 23.0.12 are vulnerable to server-side request forgery (SSRF). Attackers can leverage enclosed alphanumeric payloads to bypass IP filters and gain SSRF, which would allow an attacker to read crucial metadata if the server is hosted on the AWS platform. Nextcloud Server 24.0.8 and 23.0.2 and Nextcloud Enterprise Server 24.0.8 and 23.0.12 contain a patch for this issue. No known workarounds are available.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD)

Published by GitHub on 13 February 2023. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2023-25162 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.