# CVE-2023-41335: Temporary storage of plaintext passwords during password changes in matrix synapse

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-26 · Modified: 2025-02-13
- Aliases: GHSA-4f74-84v3-j9q5, PYSEC-2023-185, UBUNTU-CVE-2023-41335, DEBIAN-CVE-2023-41335, ALPINE-CVE-2023-41335
- Record: https://cvemate.com/vulnerability/CVE-2023-41335 · JSON: https://cvemate.com/vulnerability/CVE-2023-41335/json

## Description

```text
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. When users update their passwords, the new credentials may be briefly held in the server database. While this doesn't grant the server any added capabilities—it already learns the users' passwords as part of the authentication process—it does disrupt the expectation that passwords won't be stored in the database. As a result, these passwords could inadvertently be captured in database backups for a longer duration. These temporarily stored passwords are automatically erased after a 48-hour window. This issue has been addressed in version 1.93.0. Users are advised to upgrade. There are no known workarounds for this issue.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.387%, percentile 34.912%, 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.66.0, \< 1.93.0-r0
- debian matrix-synapse (Debian): \< 1.93.0-1
- ubuntu matrix-synapse (Ubuntu): \< 1.53.0-1ubuntu0.1~esm2
- fedoraproject fedora: 37 \| 38
- matrix-org synapse: ≥ 1.66.0, \< 1.93.0
- matrix synapse: ≥ 1.66.0, \< 1.93.0
- PyPI matrix-synapse (PyPI): ≥ 1.66.0, \< 1.93.0

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5>
- <https://github.com/matrix-org/synapse/pull/16272>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY/>
- <https://security.gentoo.org/glsa/202401-12>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41335>
- <https://github.com/matrix-org/synapse/pull/13188>
- <https://github.com/matrix-org/synapse/commit/69b74d9330e42fc91a9c7423d00a06cd6d3732bf>
- <https://github.com/matrix-org/synapse>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-185.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY>
- <https://ubuntu.com/security/CVE-2023-41335>
- <https://www.cve.org/CVERecord?id=CVE-2023-41335>
- <https://ubuntu.com/security/notices/USN-7444-1>
- <https://security-tracker.debian.org/tracker/CVE-2023-41335>
- <https://security.alpinelinux.org/vuln/CVE-2023-41335>

---

Data as of 2026-12-05T09:58:00.225Z. 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
