Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-35931: Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for password

19
Routine
LOW 2.7UPGRADE

CVE-2022-35931 is a low-severity flaw (CVSS 2.7) affecting password policy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score2.7 (Low)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance0.5% (top 60%)
CISA exploited listNo
WeaknessCWE-261, CWE-326
Published2022-09-06
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: nextcloud

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

nextcloud password policy UPGRADE
Affected: < 22.2.10 · >= 23.0.0 and < 23.0.7 · >= 24.0.0 and < 24.0.3
Fixed in: 22.2.10, 23.0.7, 24.0.3
Safe to downgrade to: a release before 23.0.0
1. Check installed version
apt-cache policy password-policy || rpm -q password-policy || password-policy --version
2. UPGRADE to 22.2.10 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade password-policy
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade password-policy
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 23.0.0 (Debian / Ubuntu)
apt-cache madison password-policy sudo apt install password-policy=<VERSION_BEFORE_23.0.0> sudo apt-mark hold password-policy
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list password-policy sudo dnf downgrade password-policy-<VERSION_BEFORE_23.0.0> sudo dnf versionlock add password-policy
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-35931?

password policy: upgrade to 22.2.10, 23.0.7, 24.0.3. Exact commands for each OS are on this page.

Is CVE-2022-35931 being exploited?

CVE-2022-35931 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-35931 affect?

CVE-2022-35931 affects password policy. Severity is low (CVSS 2.7). 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

How urgent is CVE-2022-35931?

Priority 19/100. No elevated risk signals yet.

Software pages

Nextcloud vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.