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

Read the record on cve.org

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

CVSSScoreVectorSource
3.18.3 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
matrix-authentication-serviceelement-hq
  • >= 0.20.0, <= 1.4.0Affected

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.