CVE-2025-64526
Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying
Also known as GHSA-7mqx-wwh4-f9fw
Mitigation
- Upgrade @strapi/plugin-users-permissions to 5.45.0 or later.
Who should check
- Projects that depend on npm package @strapi/plugin-users-permissions (< 5.45.0)
- Anyone running strapi < 5.45.0
- Anyone running @strapi/plugin-users-permissions < 5.45.0
Vulnerability facts
- Affected
- @strapi/plugin-users-permissions < 5.45.0
- Fixed in
- 5.45.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
- CWE
- CWE-307
- Modified
Description
Strapi is an open source headless content management system. In Strapi versions prior to 5.45.0, the rate-limit middleware in the users-permissions plugin derived its rate-limit key in part from `ctx.request.body.email`, including on routes whose body schema does not contain an `email` field (`/auth/local`, `/auth/reset-password`, `/auth/change-password`). An unauthenticated attacker could include an arbitrary `email` value in the request body to obtain a fresh rate-limit key per request, effectively bypassing per-IP throttling on those routes and enabling high-volume credential brute-force, password-reset code brute-force, and credential-stuffing attempts. The rate-limit key was constructed as `${userIdentifier}:${requestPath}:${ctx.request.ip}`, where `userIdentifier = ctx.request.body.email`. On routes that legitimately use email as their identifier (e.g. `/auth/forgot-password`, `/auth/local/register`), this scoping is correct. On routes that use a different identifier (`identifier` for login, `code` for password reset, `currentPassword` for password change), the email field was not part of the route contract, but the middleware still incorporated it into the key, allowing a caller to rotate the value and obtain a unique key on every request. The patch in version 5.45.0 maintains an allow-list of routes that legitimately key on the email field and excludes that key component on every other route the middleware is mounted on. OAuth callback paths (`/connect/*`) are treated identifier-less. On routes outside the allow-list, the middleware now falls back to a fixed identifier-less key, ensuring per-IP throttling remains effective even when the request body is attacker-controlled.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @strapi/plugin-users-permissions | < 5.45.0 | 5.45.0 | osv |
| strapi | < 5.45.0 | — | cvelist |
| @strapi/plugin-users-permissions | < 5.45.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-64526. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-64526.md Affected: @strapi/plugin-users-permissions < 5.45.0 Fixed in: 5.45.0 Steps: 1. Search this machine and project for @strapi/plugin-users-permissions (npm), strapi, @strapi/plugin-users-permissions: 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.
References
Vendor advisories
Patches
FAQ
Is CVE-2025-64526 being exploited?
There is no confirmed exploitation: CVE-2025-64526 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-64526?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-64526?
@strapi/plugin-users-permissions < 5.45.0.
Is there a fix for CVE-2025-64526?
Yes. Fixed in 5.45.0. Upgrade @strapi/plugin-users-permissions to 5.45.0 or later.
How do I check if I'm affected by CVE-2025-64526?
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.