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