CVE-2025-62425

Source
https://cve.org/CVERecord?id=CVE-2025-62425
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62425.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-62425
Aliases
  • GHSA-6wfp-jq3r-j9xh
Published
2025-10-16T18:44:02.616Z
Modified
2026-04-10T05:33:57.297986Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
Summary
Matrix Authentication Service account password can be changed using an authenticated session without supplying the current password
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-620"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62425.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/element-hq/matrix-authentication-service

Affected ranges

Type
GIT
Repo
https://github.com/element-hq/matrix-authentication-service
Events

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62425.json"