Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Strapi | Strapi | < 5.7.0 |
Related Weaknesses (CWE)
References
- https://github.com/strapi/strapiProduct
- https://github.com/strapi/strapi/issues/26587Issue Tracking
- https://github.com/strapi/strapi/pull/26752Issue TrackingPatch
- https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confPatchThird Party Advisory
FAQ
What is CVE-2026-57997?
CVE-2026-57997 is a vulnerability with a CVSS score of 4.8 (MEDIUM). 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 HS25...
How severe is CVE-2026-57997?
CVE-2026-57997 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-57997?
Check the references section above for vendor advisories and patch information. Affected products include: Strapi Strapi.