Improper Authentication in Matrix-appservice-bridge - CVE-2023-38691

 

Improper Authentication in Matrix-appservice-bridge - CVE-2023-38691

Published: August 4, 2023 / Updated: November 25, 2026


Vulnerability identifier: #VU170152
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-38691
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to impersonate another Matrix user and gain unauthorized access to the provisioning API.

The vulnerability exists due to improper authentication in the bridge's OpenID token exchange when the bridge accepts a subject whose Matrix user ID does not belong to the responding server. A remote user can use a malicious Matrix server to claim another user's identity and access the provisioning API as that user.


Affected software

Matrix-appservice-bridge

How to mitigate CVE-2023-38691

Install security update from vendor's website.

Matrix-appservice-bridge - addressed in versions 8.1.2, 9.0.1

External References

Related Security Bulletins