CVE-2016-10555
mediumpriority · track · 38EPSS 0.048 · 92 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
Since "algorithm" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- scent2d/PoC-CVE-2016-10555CVE-2016-10555 PoC codePoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-vgrx-w6rg-8fqfForgeable Public/Private Tokens in jwt-simple2018-11-06ghsa · osvUS
Affected versions of the `jwt-simple` package allow users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort. ## Recommendation Update to version 0.3.1 or later. Additionally, be sure to always specify an algorithm in calls to `.decode()`.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/cnnvd
- https://github.com/hokaccha/node-jwt-simple/pull/14cnnvd
- https://github.com/hokaccha/node-jwt-simple/pull/16cnnvd
- https://nodesecurity.io/advisories/87cnnvd
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/enisa_euvd
- https://github.com/hokaccha/node-jwt-simple/pull/14enisa_euvd
- https://github.com/hokaccha/node-jwt-simple/pull/16enisa_euvd
- https://nodesecurity.io/advisories/87enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan