Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain jwtSecret via config leak or secrets exposure
-
DeliveryCraft JWT using HS384 or HS512 algorithm header
-
ExploitSign token with known jwtSecret
-
ExecutionSubmit forged token to Strapi API endpoint
-
ImpactGain unauthorized authenticated session as target user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Approved algorithm selection
|
| Exploitation Conditions | Exploitation unconditionally requires that the attacker already possesses the Strapi jwtSecret value - this is the hard prerequisite with no known bypass. The secondary condition is that the Strapi deployment must lack an explicit plugin::users-permissions.jwt.algorithm value in its configuration; deployments with this directive set to a specific algorithm are not vulnerable. The CVSS 4.0 AT:P (attack requirement: presence) and AC:H metrics both formally encode these prerequisites. What limits exploitation: the jwtSecret must be obtained through a separate prior compromise (config leak, secrets management failure, source code exposure), there is no remote path to extract the jwtSecret via this CVE itself, and impact is bounded to the Strapi application scope with no lateral movement implied. Authentication to Strapi is not required before submitting the forged token, but that distinction is marginal given the secret-possession prerequisite. |
| Impact | The CVSS 4.0 score of 6.3 with AV:N/AC:H/AT:P/PR:N/UI:N appropriately characterizes this as a medium-severity, technically constrained issue. The single most important risk-limiting factor is that exploitation unconditionally requires prior possession of the jwtSecret - without it, no token forgery is possible regardless of algorithm flexibility. The CVSS AC:H and AT:P metrics both capture this dependency. EPSS data was not provided in the input, and the vulnerability is absent from CISA KEV, indicating no confirmed active exploitation. No POC code is identified. The practical impact is limited to VC:L and VI:L, meaning partial authentication bypass with no availability consequence. The real-world priority is therefore low for organizations where jwtSecret management and secret hygiene are strong; it rises to medium for environments with known secret-exposure risk (e.g., misconfigured environment variable exposure, committed .env files). This is a defense-in-depth gap rather than a standalone, readily exploitable critical flaw. The wildcard CPE (*:*) indicates no specific version range has been formally pinned by NVD, which introduces uncertainty about the precise scope of affected releases. |
| Exploit ScenarioDerived | An attacker who has obtained Strapi's jwtSecret - through a misconfigured deployment leaking environment variables, a committed .env file, or infrastructure compromise - crafts a JWT with an HS384 or HS512 algorithm header and signs it with the known secret. Submitting this non-standard token to the Strapi API succeeds because the unconfigured users-permissions plugin accepts any valid HMAC variant, granting the attacker an authenticated session as an arbitrary user including administrators. No public proof-of-concept code is identified, but the technique is well-documented in JWT algorithm confusion literature and requires minimal tooling given knowledge of the secret. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
JWT algorithm confusion in Strapi's users-permissions plugin enables authentication control weakening when the plugin::users-permissions.jwt.algorithm setting is absent from configuration. The plugin silently accepts HS384 and HS512 tokens alongside the intended HS256, allowing an attacker who has already obtained the jwtSecret to mint tokens using non-standard HMAC variants and bypass any algorithm-enforcement logic. No public exploit code is identified at time of analysis and this vulnerability is not listed in CISA KEV; real-world risk is substantially bounded by the prerequisite of jwtSecret compromise, reflected in the CVSS 4.0 score of 6.3 with High Complexity and Presence-of-attack-requirement modifiers.
RemediationAI
An upstream fix is available via GitHub pull request #26752 at https://github.com/strapi/strapi/pull/26752; however, a formally tagged patched release version is not independently confirmed from the available input data - operators should monitor the Strapi releases page at https://github.com/strapi/strapi for the corresponding versioned release and upgrade promptly once available. As an immediate compensating control, explicitly configure the JWT algorithm in Strapi's plugin settings by setting plugin::users-permissions.jwt.algorithm to HS256 (or RS256 if asymmetric keys are used), which removes the permissive multi-algorithm acceptance behavior; this change has no functional side effects for legitimately issued tokens. Additionally, rotate the jwtSecret as a precautionary measure if there is any possibility of prior exposure, since the vulnerability's entire threat model depends on secret compromise. Restricting access to Strapi configuration files and secrets management infrastructure limits the prerequisite attack surface independently of whether the patch has been applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strapi (cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*) is a widely-used open-source headless CMS and API framework for Node.js. Its users-permissions plugin handles JWT issuance and validation for user authentication flows. The root cause is CWE-327 (Use of a Broken or Risky Cryptographic Algorithm): when plugin::users-permissions.jwt.algorithm is not explicitly set, the library's default permissive behavior allows the JWT verification step to accept tokens signed with any valid HMAC variant (HS256, HS384, HS512) rather than enforcing a single configured algorithm. Algorithm confusion vulnerabilities in JWT libraries arise when the verifier relies on the algorithm field embedded in the token header rather than a server-side allowlist, creating a surface for token forgery if the signing secret is known. The CVSS 4.0 vector (AV:N/AC:H/AT:P) confirms the network-accessible attack surface but acknowledges the specific prerequisite conditions that elevate complexity.
Know when Strapi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network vector with high complexity captures jwtSecret prerequisite; no Strapi privileges needed; limited confidentiality and integrity impact from auth bypass; no availability or scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting
Strapi is the an open-source headless content management system. Rated critical severity (CVSS 9.8), this vulnerability
An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary
strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/s
An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XS
Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses. Rated high severity
Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /strapi.io/_next/image.
Strapi is an open-source content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely explo
In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password
strapi is an open-source headless CMS. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au
Strapi is an open-source headless content management system. Rated high severity (CVSS 7.5), this vulnerability is remot
Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login pro
EUVD-2026-40234
GHSA-93c7-w42j-xh4p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB