CVE-2026-57997: Strapi users-permissions plugin fails to restrict JWT algorithms when plugin::users-permissions.jwt.algorithm
CVE-2026-57997 is a medium-severity flaw (CVSS 4.8) affecting strapi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-327 |
| Published | 2026-06-29 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-57997?
strapi: upgrade to 5.7.0. Exact commands for each OS are on this page.
Is CVE-2026-57997 being exploited?
CVE-2026-57997 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-57997 affect?
CVE-2026-57997 affects strapi. Severity is medium (CVSS 4.8). 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 ca
How urgent is CVE-2026-57997?
Priority 26/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-22894 MEDIUM 4.9 EXPLOITED UPGRADE Strapi Cleartext Storage of Sensitive Information Vulnerability