Vulnerability details
CVE-2025-62425
Matrix Authentication Service account password can be changed using an authenticated session without supplying the current password
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.3High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| element-hq | matrix-authentication-service | >= 0.20.0, <= 1.4.0 | CVEProject cvelistV5 (CNA) |
References and advisories
2Details
- Published
- 2025-10-16
- Last updated
- 2025-10-16
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-620Unverified Password Change