Security Resilience

CVE-2025-62425

element-hq matrix-authentication-service

Published
16 October 2025
Modified
09 October 2026
CVSS Score v3.1 8.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
EPSS Score 0.0046 40th percentile
Risk Priority 61 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-62425 is a high-severity Unverified Password Change (CWE-620) vulnerability in element-hq matrix-authentication-service (named in the CVE record; NVD lists no product yet). Its CVSS base score is 8.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked at the 40th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to IA-11 (Re-authentication) and IA-5 (Authenticator Management) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1098 Account Manipulation Persistence
Adversaries may manipulate accounts to maintain and/or elevate access to victim systems.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1531 Account Access Removal Impact
Adversaries may interrupt availability of system and network resources by inhibiting access to accounts utilized by legitimate users.
T1584 Compromise Infrastructure Resource Development
Adversaries may compromise third-party infrastructure that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-44733Shared CWE-620
CVE-2026-9249Shared CWE-620
CVE-2025-63362Shared CWE-620
CVE-2025-67719Shared CWE-620
CVE-2025-14751Shared CWE-620
CVE-2025-71328Shared CWE-620
CVE-2026-5386Shared CWE-620
CVE-2024-37998Shared CWE-620
CVE-2026-56305Shared CWE-620
CVE-2025-46389Shared CWE-620

Affected Assets

element-hq
matrix-authentication-service
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Re-authentication explicitly requires users to prove identity before performing sensitive actions such as password changes.

Authenticator management requires identity verification during password distribution and changes, directly stopping unverified password updates.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-01 mostly match
blocks

Credential management practices directly enforce re-authentication for password changes.

PR.AA-03 mostly match
blocks

Authentication requirements include verifying identity before allowing credential modifications.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's SOURCE+RUNTIME reach covers CWE-620: code review sees whether the password-change handler verifies the old credential, and penetration testing directly exercises the flow by attempting to change another user's password without it. The remainder is bounded and nameable — implementations where the check lives in a third-party auth framework or is split across layers that obscure the missing verification, and test plans that do not specifically target the password-change flow.

prevents

A.5.17 governs the management of authentication information after it exists, not the design or implementation of the password-change mechanism that CWE-620 describes, so the weakness comes into existence independently of this clause.

prevents

Training developers about authentication best practices can prevent some instances of this code-level defect, but the weakness is a specific implementation choice that requires secure coding practice, code review, and testing to fully address; training is fallible and reaches only a minority of cases, consistent with the A.6.3 vs CWE-598 anchor.

prevents

A.8.28 mandates secure coding principles covering authentication flows and common defects, so a developer following them would require original-password verification; but it is a practice-based control whose coverage depends on implementation rigor, leaving a fallible remainder that stronger controls (testing, dedicated auth controls) would catch.

prevents

A.8.30 governs the contractual and oversight relationship with an outsourced developer, requiring secure coding practices to be specified and evidence of testing to be provided, but it does not itself design or implement the password-change mechanism that would prevent CWE-620 from being introduced in the delivered code.

blocks

Mandates secure authentication mechanisms, which include verifying existing credentials before permitting password changes.

References