Skip to main content
CVE-2025-62425VulnerabilityPublished

CVE-2025-62425: element-hq matrix-authentication-service · Unverified Password Change

Affects element-hq matrix-authentication-serviceSource CVE Database V5

0

Not known to be exploited · CVSS 8.3 High : upgrade to 1.4.1 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.4.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade element-hq/matrix-authentication-service to 1.4.1.

Affected software

ProductAffectedFixed in
GitHubelement-hq/matrix-authentication-servicepkg:github/element-hq/matrix-authentication-serviceOther threatsAffected
  • <1.4.1 >=0.20.0
Fixed in
  • 1.4.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately verify if their MAS deployments use the local password database feature and identify affected versions (0.20.0 to 1.4.0). The primary mitigation is to upgrade MAS to version 1.4.1 or later, where the vulnerability is patched. Until the upgrade is applied, organizations should enforce strict session management policies, including short session timeouts and monitoring for anomalous account changes. Implement multi-factor authentication (MFA) at the Matrix homeserver level to reduce the risk of session compromise. Audit logs should be reviewed for unauthorized password changes, email modifications, or account deactivations. Network segmentation and access controls should limit MAS access to trusted internal networks or VPNs. Additionally, organizations should educate users about the importance of session security and consider deploying intrusion detection systems tuned to detect suspicious MAS activity. Regular vulnerability scanning and penetration testing focused on authentication services are recommended to detect similar logic flaws proactively.

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.

References

Community reviews

Loading reviews…