4.8Mittel

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

strapi strapi Veröffentlicht: (vor 4 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-327

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
strapi strapi < 5.7.0

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* < 5.7.0