# CVE-2023-28835: Insecure randomness for default password in nextcloud

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/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.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2023-03-30T18:57:00.487Z
- Modified: 2026-06-17T05:48:52.630Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud server is an open source home cloud implementation. In affected versions the generated fallback password when creating a share was using a weak complexity random number generator, so when the sharer did not change it the password could be guessable to an attacker willing to brute force it. It is recommended that the Nextcloud Server is upgraded to 24.0.10 or 25.0.4. This issue only affects users who do not have a password policy enabled, so enabling a password policy is an effective mitigation for users unable to upgrade.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 24.0.10; >= 25.0.0, < 25.0.4
- nextcloud nextcloud_server: from 23.0.0 before 23.0.14; from 24.0.0 before 24.0.10; from 25.0.0 before 25.0.4

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7w2p-rp9m-9xp9> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/36093> (issue-tracking, patch)

## Sources

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

---

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