CVE-2023-3591 Lack of previous password reset tokens on new token creation
Attackers can reuse old password reset tokens to take over accounts because new token generation does not invalidate previous tokens.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-3591?
CVE-2023-3591 is a medium-severity vulnerability in Mattermost Mattermost Server, published on 17 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Mattermost fails to invalidate previously generated password reset tokens when a new reset token was created.
Weakness: CWE-287
Which versions are affected by CVE-2023-3591?
1 open source package ship an affected version, including mattermost. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mattermost Bitnami | From 7.8.0 | 7.8.7, 7.9.5, 7.10.3 |
Products include Mattermost Mattermost Server.
How do I fix CVE-2023-3591?
Upgrade mattermost to a fixed version for your release line: 7.8.7, 7.9.5 or 7.10.3.
Is CVE-2023-3591 being exploited?
There is no known exploitation of CVE-2023-3591 in the wild and no public exploit code.
Other vulnerabilities in Mattermost Mattermost Server
- CVE-2025-12419 Account takeover on OAuth/OpenID-enabled servers
- CVE-2025-12421 Account Takeover via Code Exchange Endpoint
- CVE-2025-4981 Path Traversal Leading to RCE by Any Authenticated Mattermost User
- CVE-2025-20051 Arbitrary file read via block duplication in Mattermost Boards
- CVE-2025-25279 Arbitrary file read in Mattermost Boards via import & export board archive
Sources
Also known as BIT-mattermost-2023-3591, GHSA-g328-hf66-x5p7.