# CVE-2025-64526: Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying

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

- **Severity:** MEDIUM 6.9
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-307
- **Aliases:** GHSA-7mqx-wwh4-f9fw
- **Published:** 2026-05-13T20:02:15.000Z
- **Modified:** 2026-10-14T13:10:00.187Z

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

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

- npm `@strapi/plugin-users-permissions`: affected \< 5.45.0; fixed 5.45.0 (osv)
- strapi: \< 5.45.0 (cvelist)
- @strapi/plugin-users-permissions: \< 5.45.0 (cvelist)

## Mitigation

- Upgrade @strapi/plugin-users-permissions to 5.45.0 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-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.
```

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

## References

- vendor: <https://github.com/strapi/strapi/security/advisories/GHSA-7mqx-wwh4-f9fw>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-64526>
- patch: <https://github.com/strapi/strapi/pull/24818>
- patch: <https://github.com/strapi/strapi/commit/5e0d243cba9830e6f791de6a94798bcde51468db>
- patch: <https://github.com/strapi/strapi/releases/tag/v5.45.0>
- other: <https://github.com/strapi/strapi>

## 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-64526>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7mqx-wwh4-f9fw> (license: <https://creativecommons.org/licenses/by/4.0/>)

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