Read the docs

Missing rate limit on password change in Mastodon

Priority MEDIUM 42Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-q3rg-xx5v-4mxh. Fix status from GitHub.

Summary

Mastodon's password change endpoint has no rate limiting, so it can be used to guess a password. An attacker must already hold the victim's session cookie, and the attack only works against a weak password. The impact is limited because normal conditions do not expose a victim's session.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

### Summary The password change endpoint lacks rate-limiting, which can be used to guess and change an unknown weak password, provided the attacker has obtained the victim's session cookie. ### Impact The impact is limited, as making use of this vulnerability requires access to the victim's session, which should not be possible under normal circumstances. Furthermore, brute-forcing a user's password is only realistic if that password is weak. That being said, if an attacker manages to get access to the victim's session, either by using an unknown Mastodon vulnerability or compromising the victim's device, and the victim's password is weak enough, the attacker can learn that password and change it. > [!NOTE] > This security issue has been found by[ mgm security partners](https://www.mgm-sp.com/), during a security audit commissioned by the [BSI](https://www.bsi.bund.de/).

Why it matters now

Fix Fixed mastodon: 4.2.9, 4.1.17

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mastodon<= 4.2.8, <= 4.1.164.2.9, 4.1.17Patch availableGHSA-q3rg-xx5v-4mxh
  • mastodon Vendor— Affected <= 4.2.8, <= 4.1.16 Fixed in 4.2.9, 4.1.17 Patch available GHSA-q3rg-xx5v-4mxh

Remediation

Mastodon 4.2.9 and 4.1.17 fix this issue, so upgrade to 4.2.9 or 4.1.17 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-q3rg-xx5v-4mxh mastodon Fixed in 4.2.9, 4.1.17 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-q3rg-xx5v-4mxh

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences