{"id":"CVE-2020-15084","published":"2020-06-30T16:10:12Z","modified":"2024-08-04T13:08:21Z","title":"Authorization bypass in express-jwt","vendor":"auth0","product":"express-jwt","tier":"tail","description":{"text":"In express-jwt (NPM package) up and including version 5.3.3, the algorithms entry to be specified in the configuration is not being enforced. When algorithms is not specified in the configuration, with the combination of jwks-rsa, it may lead to authorization bypass. You are affected by this vulnerability if all of the following conditions apply: - You are using express-jwt - You do not have **algorithms** configured in your express-jwt configuration. - You are using libraries such as jwks-rsa as the **secret**. You can fix this by specifying **algorithms** in the express-jwt configuration. See linked GHSA for example. This is also fixed in version 6.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01077,"percentile":0.65825,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/express-jwt/commit/7ecab5f8f0cab5297c2b863596566eb0c019cdef","tags":["x_refsource_MISC"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":13.16},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"express-jwt","versions":["<= 5.3.3"]}],"affected":[{"ecosystem":"npm","package":"express-jwt","vulnerableRanges":["<6.0.0"],"patched":["6.0.0"],"from":["GHSA-6g6m-m6h5-w9gf"],"provenance":"source"}],"summary":{"text":"The express-jwt package, up to and including version 5.3.3, fails to enforce the algorithms setting when it is omitted from configuration, which is an improper authorization flaw in its JWT verification logic. An attacker with network access and low-privilege credentials, who also needs a target user to interact with the application, can bypass authorization when the application is configured without algorithms and uses a library such as jwks-rsa as the secret.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:05Z"},"euvd":{"id":"EUVD-2020-0463","exploited":false,"provenance":"source"}}