Vulnerability in Element-Hq Matrix-Authentication-Service
CVE-2025-62425
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.
EPSS: 0.004 (34.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H.
Affected products
- Element-hq Matrix-authentication-service — versions >= 0.20.0, <= 1.4.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-62425?
- CVE-2025-62425 is a high-severity vulnerability in Element-Hq Matrix-Authentication-Service, classified under CWE-620. CVSS score: 8.3/10. Published 2025-10-16.
- How severe is CVE-2025-62425?
- High severity. CVSS v3 base score is 8.3 out of 10.