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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2026-06-29 22:16

Updated : 2026-07-01 15:17


NVD link : CVE-2026-57997

Mitre link : CVE-2026-57997

CVE.ORG link : CVE-2026-57997


JSON object : View

Products Affected

strapi

  • strapi
CWE
CWE-327

Use of a Broken or Risky Cryptographic Algorithm