What’s Vulnerable › Vulnerabilities
CVE-2025-62174: Mastodon allows continued access after password reset via CLI
- Severity: low (CVSS 3.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-13 · updated 2026-10-19
- Weakness: CWE-613
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 products
- mastodon: before 4.2.27; from 4.3.0 before 4.3.14; from 4.4.0 before 4.4.6 — fixed in 4.2.27, 4.3.14, 4.4.6
How to fix
Upgrade to a fixed version: mastodon 4.2.27, 4.3.14, 4.4.6. Check the vendor advisory for mitigations.
References
- https://github.com/mastodon/mastodon/commit/1631fb80e8029d2c5425a03a2297b93f7e225217
- https://github.com/mastodon/mastodon/security/advisories/GHSA-f3q3-rmf7-9655
Get alerted when CVE-2025-62174 or the next vulnerability affects your stack