CVE-2026-57997
Medium
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.
SeverityMedium
CVSS4.8
Exploit probability—
Product
Strapi
PublishedJun 29, 2026
First seenJun 29, 2026
Weakness typeCWE-327CWE-327
How to fix
Update
- strapi strapi5.7.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strapi strapi | v < 5.7.0 | 5.7.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.