Skip to content

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

LowCVSS 3.5 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
joinmastodon mastodon < 4.2.27; >= 4.3.0, < 4.3.14; >= 4.4.0, < 4.4.6 4.2.27, 4.3.14, 4.4.6 Fixed
mastodon = < 4.2.27; = >= 4.3.0-beta.1, < 4.3.14; = >= 4.4.0-beta.1, < 4.4.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mastodon = >= 4.4.0-beta.1, < 4.4.6 No fix listed
mastodon = >= 4.3.0-beta.1, < 4.3.14 No fix listed
mastodon = < 4.2.27 No fix listed
joinmastodon mastodon < 4.2.27 4.2.27
joinmastodon mastodon >= 4.3.0, < 4.3.14 4.3.14
joinmastodon mastodon >= 4.4.0, < 4.4.6 4.4.6

References