CVE-2025-62425
Matrix Authentication Service account password can be changed using an authenticated session without supplying the current password
- State
- Published
- Severity
- 8.3 High
- Published
- Oct 16, 2025
- Updated
- Oct 16, 2025
- Reserved
- Oct 13, 2025
Description
MAS (Matrix Authentication Service) is a user management and authentication service for Matrix homeservers, written and maintained by Element. A logic flaw in matrix-authentication-service 0.20.0 through 1.4.0 allows an attacker with access to an authenticated MAS session to perform sensitive operations without entering the current password. These include changing the current password, adding or removing an e-mail address and deactivating the account. The vulnerability only affects instances which have the local password database feature enabled (passwords section in the config). Patched in matrix-authentication-service 1.4.1.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.3 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H | GitHub_M |
Weaknesses
- CWE-620 Unverified Password Change
Affected Products
| Product | Versions |
|---|---|
matrix-authentication-serviceelement-hq |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.