CVE-2025-64526: @strapi/plugin users permissions Strapi Has A Rate Limit Vulnerability
MODERATECVE-2025-64526 is a MODERATE strapi has a rate limit vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting @strapi/plugin users permissions libraries in the npm ecosystem. The issue involves strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying. Remediation is available by upgrading affected packages to version 5.45.0.
CVE-2025-64526 at a Glance
How to Fix CVE-2025-64526
To remediate this vulnerability, upgrade all affected @strapi/plugin users permissions dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @strapi/plugin-users-permissions@5.45.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @strapi/plugin-users-permissions
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-64526, inspect your project dependencies using npm:
npm ls @strapi/plugin-users-permissions
Analyze the terminal output to locate any version of @strapi/plugin users permissions in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.45.0), your application is affected.
Note: The npm ls @strapi/plugin-users-permissions command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In @strapi/plugin users permissions, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64526 Affected @strapi/plugin users permissions Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@strapi/plugin-users-permissions
|
npm |
< 5.45.0
|
5.45.0
|
References
Frequently Asked Questions
What is CVE-2025-64526?
Which @strapi/plugin users permissions versions are affected?
What version fixes CVE-2025-64526?
Is @strapi/plugin-users-permissions affected?
What CWE is associated with CVE-2025-64526?
How can I check npm dependencies for CVE-2025-64526?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7mqx-wwh4-f9fw",
"modified" : "2026-05-15T23:44:20Z",
"published" : "2026-05-13T20:02:15Z",
"aliases" : [ "CVE-2025-64526" ],
"summary" : "Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying",
"details" : "### Summary of CVE-2025-64526 Vulnerability Details\n\n- CVE: CVE-2025-64526\n- CVSS v3.1 Vector: `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` (6.9 — Medium)\n- Affected Versions: `@strapi/plugin-users-permissions` <=5.44.0\n- How to Patch: Immediately update your Strapi to >=5.45.0\n\n### Description of CVE-2025-64526\n\nIn 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.\n\nThe 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.\n\nThe patch 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.\n\n### IoC's for CVE-2025-64526\n\nIndicators that an instance running an unpatched version may have been exploited:\n\n- Unusually high volumes of `POST` requests to `/api/auth/local`, `/api/auth/reset-password`, or `/api/auth/change-password` from a single IP within a 5-minute window without 429 (Too Many Requests) responses\n- Request bodies on `/api/auth/local` containing both `identifier` AND `email` fields where `email` varies per request. Body shape regex: `\"identifier\"\\s*:\\s*\"[^\"]*\",\\s*\"email\"\\s*:\\s*\"[^\"]*\"`\n- Request bodies on `/api/auth/reset-password` containing an unexpected `email` field alongside `code`. Body shape regex: `\"code\"\\s*:\\s*\"[^\"]*\",.*\"email\"\\s*:`\n- Server logs showing many distinct rate-limit key prefixes for the same IP+route combination within the rate-limit window\n- Successful authentication or password reset following hundreds of preceding 401/400 responses from the same IP",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@strapi/plugin-users-permissions"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.45.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.44.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/security/advisories/GHSA-7mqx-wwh4-f9fw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64526"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/pull/24818"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/commit/5e0d243cba9830e6f791de6a94798bcde51468db"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/strapi/strapi"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/releases/tag/v5.45.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-307" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-13T20:02:15Z",
"nvd_published_at" : "2026-05-14T19:16:29Z"
}
}