# CVE-2023-48305: Nextcloud Server user_ldap app logs user passwords in the log file on level debug

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- 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.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-11-21T22:17:36.124Z
- Modified: 2026-06-17T06:33:58.160Z
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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).

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 25.0.0, < 25.0.11; >= 26.0.0, < 26.0.6; >= 27.0.0, < 27.1.0
- nextcloud 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

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nextcloud/server/issues/38461> (exploit, issue-tracking)
- <https://hackerone.com/reports/2101165> (exploit, third-party-advisory)
- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35p6-4992-w5fr> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/40013> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2023-48305](https://www.cve.org/CVERecord?id=CVE-2023-48305), CVE Terms of Use, modified 2024-11-27
- NVD: [CVE-2023-48305](https://nvd.nist.gov/vuln/detail/CVE-2023-48305), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-48305 · Whole record: https://cve.day/CVE-2023-48305.json · Rebuilt by cve.day 2026-11-25T22:58:30.641Z
