CVE-2023-48306: Nextcloud Server DNS pin middleware can be tricked into DNS rebinding allowing SSRF

CVE-2023-48306 affects 18 listed versions of Nextcloud in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
1%EPSS (next 30 days)
21 November 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

18 of 250 listed versions are affected. Fixed in 27.1.0, 24.0.12.7, 23.0.12.11, 22.2.10.16. The newest release, 35.0.3, is not affected.

27.0.2 27.0.1 27.0.0 24.0.12.5 24.0.12.4 23.0.12.9 23.0.12.8 23.0.12.7 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

What it is

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Server and starting in version 22.0.0 and prior to versions 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Enterprise Server, the DNS pin middleware was vulnerable to DNS rebinding allowing an attacker to perform SSRF as a final result. Nextcloud Server 25.0.11, 26.0.6, and 27.1.0 and Nextcloud Enterprise Server 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 contain patches for this issue. No known workarounds are available.

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

Published by GitHub on 21 November 2023. Last changed 17 June 2026.

Sources

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

Updated 2 December 2026.