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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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.78%, higher than 52% of CVEs (2026-11-30)
- Published: 2023-06-06T16:40:42.000Z
- Modified: 2026-09-10T03:50:02.042Z
- Also known as: GHSA-26c5-ppr8-f33p, PYSEC-2023-84
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matrix-org synapse: < 1.85.0
- matrix-synapse (PyPI): before 1.85.0
- matrix synapse: before 1.85.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-26c5-ppr8-f33p> (fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/matrix-org/synapse/pull/15624> (fix, patch, web)
- <https://github.com/matrix-org/synapse/pull/15634> (fix, patch, web)
- <https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account> (product, web)
- <https://matrix-org.github.io/synapse/latest/jwt.html> (product, web)
- <https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#password_config> (product, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32682> (advisory)
- <https://github.com/matrix-org/synapse/issues/12274> (web)
- <https://github.com/matrix-org/synapse> (package)
- <https://github.com/matrix-org/synapse/releases/tag/v1.85.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-84.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2> (web)

## Sources

- CVE List: [CVE-2023-32682](https://www.cve.org/CVERecord?id=CVE-2023-32682), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-26c5-ppr8-f33p](https://github.com/advisories/GHSA-26c5-ppr8-f33p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-32682](https://nvd.nist.gov/vuln/detail/CVE-2023-32682), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-84](https://osv.dev/vulnerability/PYSEC-2023-84), CC-BY-4.0, modified 2023-11-08

---

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