CVE-2026-57997 Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration
MediumCVSS 6.3
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm strapi | < 5.7.0 | 5.7.0 | Fixed |
| strapi @strapi/strapi | < 5.7.0 | 5.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm strapi | < 5.7.0 | 5.7.0 |
| strapi @strapi/strapi | < 5.7.0 | 5.7.0 |
References
- Pull Issue issue-tracking
- Pull Issue issue-tracking patch
- Product Details product
- www.vulncheck.com patch third-party-advisory
- ENISA EUVD EUVD-2026-40234 third-party-advisory