Every CVE Search/ Get API key

CVE-2023-41335

Temporary storage of plaintext passwords during password changes in matrix synapse

3.7 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.39%Up 0.3 points since Sep 27, 2023
90%50%10%1%

What each source reports

CVE List Score used 3.7

Temporary storage of plaintext passwords during password changes in matrix synapse

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.

Record
CVE-2023-41335
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-312
Updated
2026-11-02
EUVDEUVD-2023-0134 3.7

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.

Record
EUVD-2023-0134
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-4f74-84v3-j9q5 2.0

matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes

Impact

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.

Patches

https://github.com/matrix-org/synapse/pull/16272

References

This bug was due to a regression in https://github.com/matrix-org/synapse/pull/13188.

Record
GHSA-4f74-84v3-j9q5
CVSS 4.0
2.0 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-312
Updated
2026-11-02
NVD 3.7

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.

Record
CVE-2023-41335
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
CVSS 3.1
3.7 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-312
Updated
2026-11-02
OSVALPINE-CVE-2023-41335 3.7

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.

Record
ALPINE-CVE-2023-41335
CVSS 3.1
3.7 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-03
OSV 3.7

Temporary storage of plaintext passwords during password changes in matrix synapse

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.

Record
CVE-2023-41335
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-312
Updated
2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2023-41335 3.7

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.

Record
DEBIAN-CVE-2023-41335
CVSS 3.1
3.7 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-4f74-84v3-j9q5 2.0

matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes

Impact

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.

Patches

https://github.com/matrix-org/synapse/pull/16272

References

This bug was due to a regression in https://github.com/matrix-org/synapse/pull/13188.

Record
GHSA-4f74-84v3-j9q5
CVSS 4.0
2.0 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-312
Updated
2026-11-02
OSVPYSEC-2023-185 3.7

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.

Record
PYSEC-2023-185
CVSS 3.1
3.7 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2023-41335 3.7

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.

Record
UBUNTU-CVE-2023-41335
CVSS 3.1
3.7 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
CVSS 3.1
3.7 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVopenSUSE-SU-2024:13270-1 No score

matrix-synapse-1.93.0-1.1 on GA media

These are all security issues fixed in the matrix-synapse-1.93.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13270-1
Updated
2026-11-02
OSVUSN-7444-1 No score

matrix-synapse vulnerabilities

It was discovered that Synapse network policies could be bypassed via specially crafted URLs. An attacker could possibly use this issue to bypass authentication mechanisms. (CVE-2023-32683)

It was discovered that Synapse exposed cached device information. An attacker could possibly use this issue to gain access to sensitive information. (CVE-2023-43796)

It was discovered that Synapse could be tricked into rejecting state changes in rooms. An attacker could possibly use this issue to cause Synapse to stop functioning properly, resulting in a denial of service. This issue was only fixed in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-39374)

It was discovered that Synapse stored user credentials in a server's database temporarily. An attacker could possibly use this issue to gain access to sensitive information. This issue was only fixed in Ubuntu 22.04 LTS. (CVE-2023-41335)

It was discovered that Synapse could incorrectly respond to server authorization events. An attacker could possibly use this issue to bypass authentication mechanisms. This issue was only fixed in Ubuntu 22.04 LTS. (CVE-2022-39335)

It was discovered that Synapse could be manipulated to mark messages as read when they had not been viewed. An attacker could possibly use this issue to perform repudiation-based attacks. This issue was only fixed in Ubuntu 22.04 LTS. (CVE-2023-42453)

It was discovered that Synapse had several memory-related issues. An attacker could possibly use this issue to cause Synapse to crash, resulting in a denial of service. This issue was only fixed in Ubuntu 22.04 LTS. (CVE-2024-31208)

It was discovered that Synapse could run external tools due to a unchecked thumbnail rendering routine. An attacker could possibly use this issue to cause Synapse to crash, resulting in a denial of service, or execute arbitrary code. This issue was only fixed in Ubuntu 22.04 LTS. (CVE-2024-53863)

Record
USN-7444-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
matrix-synapse
PyPI
1.66.0 up to 1.93.0
1.93.0
synapse
Alpine:v3.18
1.66.0 up to 1.93.0-r0
1.93.0-r0
synapse
Alpine:v3.19
1.66.0 up to 1.93.0-r0
1.93.0-r0
synapse
Alpine:v3.20
1.66.0 up to 1.93.0-r0
1.93.0-r0
synapse
Alpine:v3.21
1.66.0 up to 1.93.0-r0
1.93.0-r0
synapse
Alpine:v3.22
1.66.0 up to 1.93.0-r0
1.93.0-r0
synapse
Alpine:v3.23
1.66.0 up to 1.93.0-r0
1.93.0-r0
synapse
Alpine:v3.24
1.66.0 up to 1.93.0-r0
1.93.0-r0
matrix-synapse
PyPI
1.66.0 up to 1.93.0, plus listed versions
1.67.01.67.0rc11.68.01.68.0rc11.68.0rc2
Show 45 moreShow less
1.69.01.69.0rc11.69.0rc21.69.0rc41.70.01.70.0rc11.70.0rc21.70.11.71.01.71.0rc11.71.0rc21.72.01.72.0rc11.73.01.73.0rc21.74.01.74.0rc11.75.01.75.0rc11.75.0rc21.76.01.76.0rc11.76.0rc21.77.01.77.0rc11.77.0rc21.78.01.78.0rc11.79.01.79.0rc11.79.0rc21.80.01.80.0rc11.80.0rc21.81.01.81.0rc11.81.0rc21.82.01.82.0rc11.83.01.83.0rc11.84.01.84.0rc11.84.11.85.0
1.93.0
matrix-synapse
Ubuntu:Pro:22.04:LTS
before 1.53.0-1ubuntu0.1~esm2, plus listed versions
1.39.0-11.47.0-21.47.1-11.48.0-11.49.0-1
Show 6 moreShow less
1.49.2-11.50.1-11.50.2-11.51.0-11.52.0-11.53.0-1
1.53.0-1ubuntu0.1~esm2
Show 4 moreShow less
Affected packages
PackageAffectedFixed
matrix-synapse
Ubuntu:Pro:18.04:LTS
From an advisory covering 8 CVEs
before 0.24.0+dfsg-1ubuntu0.1~esm4, plus listed versions
0.19.2+dfsg-60.24.0+dfsg-10.24.0+dfsg-1ubuntu0.1~esm1
0.24.0+dfsg-1ubuntu0.1~esm4
matrix-synapse
Ubuntu:Pro:20.04:LTS
From an advisory covering 8 CVEs
before 1.11.0-1ubuntu0.1~esm2, plus listed versions
1.3.0-11.4.0-11.5.0-11.5.1-11.6.0-1
Show 11 moreShow less
1.6.1-11.7.0-21.7.1-11.7.2-11.7.3-11.8.0-11.9.0-11.9.1-11.10.0-11.10.0-21.11.0-1
1.11.0-1ubuntu0.1~esm2
matrix-synapse
Ubuntu:Pro:22.04:LTS
From an advisory covering 8 CVEs
before 1.53.0-1ubuntu0.1~esm2, plus listed versions
1.39.0-11.47.0-21.47.1-11.48.0-11.49.0-1
Show 6 moreShow less
1.49.2-11.50.1-11.50.2-11.51.0-11.52.0-11.53.0-1
1.53.0-1ubuntu0.1~esm2
matrix-synapse
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 1.93.0-1.1
1.93.0-1.1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
affected
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-41335 is a low vulnerability (CVSS 3.7) in Element-hq Synapse, published September 26, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 32nd percentile. Fixed in matrix-synapse 1.93.0.

References

Show 22 moreShow less
This page doesn't list everything

Left out here: 23 versions. The JSON record has them.

MoveEnter Open