{"id":"CVE-2025-64526","published":"2026-05-14T18:32:01Z","modified":"2026-05-16T00:49:25Z","title":"Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying","vendor":"strapi","product":"strapi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00492,"percentile":0.432,"provenance":"source"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"}],"references":[{"url":"https://github.com/strapi/strapi/security/advisories/GHSA-7mqx-wwh4-f9fw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/strapi/strapi/pull/24818","tags":["x_refsource_MISC"]},{"url":"https://github.com/strapi/strapi/commit/5e0d243cba9830e6f791de6a94798bcde51468db","tags":["x_refsource_MISC"]},{"url":"https://github.com/strapi/strapi/releases/tag/v5.45.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":8.64},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"strapi","affectedVersions":[{"vendor":"strapi","product":"strapi","versions":["< 5.45.0"]},{"vendor":"strapi","product":"@strapi/plugin-users-permissions","versions":["< 5.45.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-16T00:48:16.468125Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@strapi/plugin-users-permissions","vulnerableRanges":["<5.45.0"],"patched":["5.45.0"],"from":["GHSA-7mqx-wwh4-f9fw"],"provenance":"source"}],"summary":{"text":"Strapi's users-permissions plugin, prior to version 5.45.0, derives its rate-limit key partly from the request body's email field, including on routes such as /auth/local, /auth/reset-password and /auth/change-password whose schemas do not define that field. An unauthenticated remote attacker can supply a different email value on each request to obtain a fresh rate-limit key, which defeats per-IP throttling and enables high-volume brute-force and credential-stuffing against those routes, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:23Z"},"euvd":{"id":"EUVD-2025-209860","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-39345","published":"2023-11-06","fixed":"4.13.1","kev":false},{"cve":"CVE-2024-34065","published":"2024-06-12","fixed":"4.24.2","kev":false},{"cve":"CVE-2026-22706","published":"2026-05-14","fixed":"5.33.3","kev":false,"link":{"from":"CVE-2026-22706","to":"CVE-2025-64526","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@strapi/plugin-users-permissions","fromFixed":"5.33.3","toFixed":"5.45.0","daysApart":0}]}},{"cve":"CVE-2025-64526","published":"2026-05-14","fixed":"5.45.0","kev":false}],"package":"npm:@strapi/plugin-users-permissions"}}