# CVE-2022-35931: Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator

- Severity: Low 2.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2022-09-06T18:10:09.000Z
- Modified: 2026-06-17T04:52:32.910Z
- Weaknesses: CWE-261, CWE-326
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for passwords. Prior to versions 22.2.10, 23.0.7, and 24.0.3 the random password generator may, in very rare cases, generate common passwords that the validator itself would block. Upgrade Nextcloud Server to 22.2.10, 23.0.7 or 24.0.3 to receive a patch for the issue in Password Policy. There are no known workarounds available.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 24.0.0, < 24.0.3; < 22.2.10; >= 23.0.0, < 23.0.7
- nextcloud password_policy: before 22.2.10; from 23.0.0 before 23.0.7; from 24.0.0 before 24.0.3

## Every score

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

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-c7mw-9q4r-8qwr> (third-party-advisory)
- <https://github.com/nextcloud/password_policy/pull/363> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-35931 · Whole record: https://cve.day/CVE-2022-35931.json · Rebuilt by cve.day 2026-11-25T22:58:14.707Z
