What’s Vulnerable › Vulnerabilities
CVE-2023-48305: Nextcloud Server user_ldap app logs user passwords in the log file on level debug
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-11-21 · updated 2026-06-17
- Weakness: CWE-312
Description
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 Nextcloud Enterprise Server, when the log level was set to debug, the user_ldap app logged user passwords in plaintext into the log file. If the log file was then leaked or shared in any way the users' passwords would be leaked. Nextcloud Server and Nextcloud Enterprise Server versions 25.0.11, 26.0.6, and 27.1.0 contain a patch for this issue. As a workaround, change config setting `loglevel` to `1` or higher (should always be higher than 1 in production environments).
Affected products
- Nextcloud Server: from 25.0.0 before 25.0.11; from 26.0.0 before 26.0.6; from 27.0.0 before 27.1.0 — fixed in 25.0.11, 26.0.6, 27.1.0
How to fix
Upgrade to a fixed version: Nextcloud Server 25.0.11, 26.0.6, 27.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35p6-4992-w5fr
- https://github.com/nextcloud/server/issues/38461
- https://github.com/nextcloud/server/pull/40013
- https://hackerone.com/reports/2101165
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35p6-4992-w5fr
- https://github.com/nextcloud/server/issues/38461
- https://github.com/nextcloud/server/pull/40013
- https://hackerone.com/reports/2101165
Get alerted when CVE-2023-48305 or the next vulnerability affects your stack