CVE-2025-62174
JSON

3.5low

Mastodon allows continued access after password reset via CLI

Severity
3.5low CVSS:3.1 by GitHub_M
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-MASTODON-2025-62174GHSA-f3q3-rmf7-9655

Description

Mastodon is a free, open-source social network server based on ActivityPub. In Mastodon before 4.4.6, 4.3.14, and 4.2.27, when an administrator resets a user account's password via the command-line interface using `bin/tootctl accounts modify --reset-password`, active sessions and access tokens for that account are not revoked. This allows an attacker with access to a previously compromised session or token to continue using the account after the password has been reset. This issue has been patched in versions 4.2.27, 4.3.14, and 4.4.6. No known workarounds exist.

Affected

Product or packageVersionsReported by
mastodon mastodon>= 4.4.0-beta.1, < 4.4.6, >= 4.3.0-beta.1, < 4.3.14, < 4.2.27CVE List
joinmastodon mastodonbefore 4.2.27, from 4.3.0 before 4.3.14, from 4.4.0 before 4.4.6NVD
mastodon (Bitnami)before 4.2.27, from 4.3.0 before 4.3.14, from 4.4.0 before 4.4.6Bitnami Vulnerability Database

All scores

GitHub_M3.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-613

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Mastodon is a free, open-source social network server based on ActivityPub. In Mastodon before 4.4.6, 4.3.14, and 4.2.27, when an administrator resets a user account's password via the command-line interface using `bin/tootctl accounts modify --reset-password`, active sessions and access tokens for that account are not revoked. This allows an attacker with access to a previously compromised session or token to continue using the account after the password has been reset. This issue has been patched in versions 4.2.27, 4.3.14, and 4.4.6. No known workarounds exist.

NVD (es)

Mastodon es un servidor de red social gratuito, de código abierto, basado en ActivityPub. En Mastodon antes de las versiones 4.4.6, 4.3.14 y 4.2.27, cuando un administrador restablece la contraseña de una cuenta de usuario a través de la interfaz de línea de comandos usando 'bin/tootctl accounts modify --reset-password', las sesiones activas y los tokens de acceso para esa cuenta no son revocados. Esto permite a un atacante con acceso a una sesión o token previamente comprometido continuar usando la cuenta después de que la contraseña haya sido restablecida. Este problema ha sido parcheado en las versiones 4.2.27, 4.3.14 y 4.4.6. No existen soluciones alternativas conocidas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-62174 changed 2025-10-14CVE Terms of Use
NVDCVE-2025-62174 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-MASTODON-2025-62174 changed 2026-09-08Apache-2.0