CVE-2025-62174: Mastodon allows continued access after password reset via CLI

Published Oct 13, 2025
·
Updated

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 Software

4 affected components
Mastodon Mastodon<4.2.27, <4.3.14, <4.4.6
Joinmastodon Mastodon<4.2.27
Joinmastodon Mastodon>=4.3.0<4.3.14
Joinmastodon Mastodon>=4.4.0<4.4.6

Event History

Oct 13, 2025
CVE Published
via MITRE·08:54 PM
Data Sourced
via MITRE·08:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
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-62174?

The severity of CVE-2025-62174 is classified as medium risk due to potential exposure of user accounts and sessions.

2

How do I fix CVE-2025-62174?

To fix CVE-2025-62174, upgrade to Mastodon versions 4.4.6, 4.3.14, or 4.2.27 or later.

3

What types of accounts are affected by CVE-2025-62174?

CVE-2025-62174 affects user accounts whose passwords are reset by an administrator via the command-line interface.

4

Can CVE-2025-62174 allow unauthorized access to user data?

Yes, CVE-2025-62174 could potentially allow unauthorized access to active user sessions after a password reset.

5

What are the implications of CVE-2025-62174 for Mastodon administrators?

Administrators need to be cautious when resetting passwords as CVE-2025-62174 can lead to session hijacking risks.

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