CVE-2026-57997: Strapi

Medium severity, CVSS 5.4. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Strapi Strapi: before 5.7.0 (fixed in 5.7.0)

Published 2026-06-29. Last modified 2026-07-01.