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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.5
- **CVSS:** 3.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-613
- **Published:** 2025-10-13T20:54:36.040Z
- **Modified:** 2026-10-19T16:10:00.260Z

## Who should check

- Anyone running mastodon \>= 4.4.0-beta.1, \< 4.4.6; \>= 4.3.0-beta.1, \< 4.3.14; \< 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.

## Affected and fixed versions

- mastodon: \>= 4.4.0-beta.1, \< 4.4.6; \>= 4.3.0-beta.1, \< 4.3.14; \< 4.2.27 (cvelist)

## Mitigation

- Upgrade mastodon to 4.2.27 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-62174. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-62174.md
Affected: mastodon >= 4.4.0-beta.1, < 4.4.6; >= 4.3.0-beta.1, < 4.3.14; < 4.2.27
Fixed in: mastodon 4.4.6, mastodon 4.3.14, mastodon 4.2.27

Steps:
1. Search this machine and project for mastodon: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-62174 being exploited?

There is no confirmed exploitation: CVE-2025-62174 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-62174?

Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-62174?

mastodon \>= 4.4.0-beta.1, \< 4.4.6; \>= 4.3.0-beta.1, \< 4.3.14; \< 4.2.27.

### Is there a fix for CVE-2025-62174?

Yes. Fixed in mastodon 4.4.6, mastodon 4.3.14, mastodon 4.2.27. Upgrade mastodon to 4.2.27 or later.

### How do I check if I'm affected by CVE-2025-62174?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-62174>

HTML: <https://flawdb.com/CVE-2025-62174> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-62174>
