CVE-2026-57997 PUBLISHED

Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration

Assigner: VulnCheck
Reserved: 26.06.2026 Published: 29.06.2026 Updated: 30.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.3

Product Status

Vendor strapi
Product strapi
Versions Default: unaffected
  • affected from 0 to 5.7.0 (excl.)

Credits

  • BL4CK570RM reporter

References

Problem Types

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm CWE