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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/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.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2023-09-26T18:55:24.000Z
- Modified: 2026-09-10T03:50:03.101Z
- Also known as: GHSA-4f74-84v3-j9q5, PYSEC-2023-185
- Weaknesses: CWE-312
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matrix-org synapse: >= 1.66.0, < 1.93.0
- matrix-synapse (PyPI): from 1.66.0 before 1.93.0
- matrix synapse: from 1.66.0 before 1.93.0
- fedoraproject fedora: 37; 38

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5> (advisory, patch, vendor-advisory, web)
- <https://github.com/matrix-org/synapse/pull/16272> (fix, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO/> (mailing-list, release-notes)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4/> (mailing-list, release-notes)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY/>
- <https://security.gentoo.org/glsa/202401-12> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41335> (advisory)
- <https://github.com/matrix-org/synapse/pull/13188> (web)
- <https://github.com/matrix-org/synapse/commit/69b74d9330e42fc91a9c7423d00a06cd6d3732bf> (web)
- <https://github.com/matrix-org/synapse> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-185.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY> (web)

## Sources

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

---

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