Skip to main content
← All vulnerabilities
CVE-2026-57997

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • strapi strapi

    fixed in 5.7.0

References 4

GitHub · strapi/strapi

vulncheck.com