# CVE-2026-57997: Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 10% of CVEs (2026-11-30)
- Published: 2026-06-29T21:16:35.174Z
- Modified: 2026-11-08T14:06:43.253Z
- Weaknesses: CWE-327
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- strapi strapi: before 5.7.0

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/strapi/strapi/issues/26587> (issue-tracking)
- <https://github.com/strapi/strapi/pull/26752> (issue-tracking, patch)
- <https://github.com/strapi/strapi> (product)
- <https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2026-57997](https://www.cve.org/CVERecord?id=CVE-2026-57997), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-57997](https://nvd.nist.gov/vuln/detail/CVE-2026-57997), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-57997 · Whole record: https://cve.day/CVE-2026-57997.json · Rebuilt by cve.day 2026-11-25T22:59:26.664Z
