CVE-2025-62425: Matrix Authentication Service account password can be changed using an authenticated session without supplying the current password

Published Oct 16, 2025
·
Updated

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.

Affected Software

1 affected component
Element Matrix Authentication Service>=0.20.0<=1.4.0

Event History

Oct 16, 2025
CVE Published
via MITRE·06:44 PM
Data Sourced
via MITRE·06:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-62425?

CVE-2025-62425 has been classified as a medium severity vulnerability due to the potential for unauthorized access in authenticated sessions.

2

How do I fix CVE-2025-62425?

To mitigate CVE-2025-62425, upgrade the Element Matrix Authentication Service to version 1.4.1 or later.

3

What impact does CVE-2025-62425 have on my system?

CVE-2025-62425 can allow attackers to exploit a logic flaw and perform unauthorized actions if they gain access to an authenticated session.

4

Which versions of Element Matrix Authentication Service are affected by CVE-2025-62425?

CVE-2025-62425 affects Element Matrix Authentication Service versions from 0.20.0 to 1.4.0.

5

Is there a workaround for CVE-2025-62425 if I can't update immediately?

There is no known effective workaround for CVE-2025-62425, so upgrading to the latest version is essential.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203