CVE-2026-57997
Strapi users-permissions plugin fails to restrict JWT algorithms when plugin::users-permissions.jwt.algorithm is not explicitly configured, allowing acceptance of HS384 and HS512 tokens alongside HS256. Attackers possessing the jwtSecret can mint tokens with non-standard HMAC variants to bypass algorithm restrictions and weaken authentication controls.
- Score
- CVSS 4.0 6.3 Medium
- Status
- Analyzed - disclosure@vulncheck.com
- Published
- 2026-06-29
- Last modified
- 2026-10-25
- Weaknesses
- CWE-327
Affected products
References
- https://github.com/strapi/strapi/issues/26587
- https://github.com/strapi/strapi/pull/26752
- https://github.com/strapi/strapi
- https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configurati…