{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-32682","id":"CVE-2023-32682","title":"Improper checks for deactivated users during login in synapse","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_c","descriptionLong":"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.","published":"2023-06-06T18:20:14.377Z","updated":"2026-10-28T02:31:07.823365212Z","reserved":"2023-05-11T16:33:45.731Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["matrix-org synapse"],"affectedProducts":[{"vendor":"matrix-org","product":"synapse","defaultStatus":null,"versions":[{"version":"< 1.85.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"matrix-synapse","purl":"pkg:pypi/matrix-synapse","ranges":["<1.85.0"],"fixed":["1.85.0"],"advisory":"GHSA-26c5-ppr8-f33p"}],"cwes":["CWE-287"],"aliases":["GHSA-26c5-ppr8-f33p","PYSEC-2023-84"],"references":[{"url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-26c5-ppr8-f33p","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Patch","Vendor Advisory","advisory","web","fix"]},{"url":"https://github.com/matrix-org/synapse/pull/15624","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/matrix-org/synapse/pull/15634","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://matrix-org.github.io/synapse/latest/jwt.html","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#password_config","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2/","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32682.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32682","tags":["advisory"]},{"url":"https://github.com/matrix-org/synapse/issues/12274","tags":["web"]},{"url":"https://github.com/matrix-org/synapse","tags":["package"]},{"url":"https://github.com/matrix-org/synapse/releases/tag/v1.85.0","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-84.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00752,"epssPercentile":0.55821,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-32682","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32682","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-32682","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-26c5-ppr8-f33p","ok":true,"note":"GHSA-26c5-ppr8-f33p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-32682","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}