# CVE-2023-32682: Improper checks for deactivated users during login in synapse

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-06-06 · Modified: 2025-02-13
- Aliases: GHSA-26c5-ppr8-f33p, PYSEC-2023-84, UBUNTU-CVE-2023-32682, DEBIAN-CVE-2023-32682, ALPINE-CVE-2023-32682
- Record: https://cvemate.com/vulnerability/CVE-2023-32682 · JSON: https://cvemate.com/vulnerability/CVE-2023-32682/json

## Description

```text
Synapse is a Matrix protocol homeserver written in Python with the Twisted framework. In affected versions it may be possible for a deactivated user to login when using uncommon configurations. This only applies if any of the following are true: 1. JSON Web Tokens are enabled for login via the `jwt_config.enabled` configuration setting. 2. The local password database is enabled via the `password_config.enabled` and `password_config.localdb_enabled` configuration settings *and* a user's password is updated via an admin API after a user is deactivated. Note that the local password database is enabled by default, but it is uncommon to set a user's password after they've been deactivated. Installations that are configured to only allow login via Single Sign-On (SSO) via CAS, SAML or OpenID Connect (OIDC); or via an external password provider (e.g. LDAP) are not affected. If not using JSON Web Tokens, ensure that deactivated users do not have a password set. This issue has been addressed in version 1.85.0. Users are advised to upgrade.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.752%, percentile 56.404%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine synapse (Alpine Linux): \< 1.85.1-r0
- debian matrix-synapse (Debian): \< 1.90.0-1
- ubuntu matrix-synapse (Ubuntu): All versions (No fix recorded)
- matrix-org synapse: \< 1.85.0
- matrix synapse: \< 1.85.0
- PyPI matrix-synapse (PyPI): \< 1.85.0

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-26c5-ppr8-f33p>
- <https://github.com/matrix-org/synapse/pull/15624>
- <https://github.com/matrix-org/synapse/pull/15634>
- <https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account>
- <https://matrix-org.github.io/synapse/latest/jwt.html>
- <https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#password_config>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32682>
- <https://github.com/matrix-org/synapse/issues/12274>
- <https://github.com/matrix-org/synapse>
- <https://github.com/matrix-org/synapse/releases/tag/v1.85.0>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-84.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2>
- <https://ubuntu.com/security/CVE-2023-32682>
- <https://www.cve.org/CVERecord?id=CVE-2023-32682>
- <https://security-tracker.debian.org/tracker/CVE-2023-32682>
- <https://security.alpinelinux.org/vuln/CVE-2023-32682>

---

Data as of 2026-12-05T09:58:32.782Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
