CVE-2026-57997

MEDIUM CVSS 4.0: 6.3 EPSS 0.25%
Updated Oct 26, 2026
Strapi
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions before 5.7.0
Fixed In 5.7.0
Type CWE-327 (Weak Crypto Algorithm)
Vendor Strapi
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Strapi Strapi
cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:*
— 5.7.0