Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentscrates.io

jsonwebtoken

JSON Web Token encoding and validation with HS256 to HS512, RS256 to RS512, PS256 to PS512, ES256, ES384 and EdDSA.

In short

What to know.

Algorithms
HMAC, RSA signatures, ECDSA on P-256, ECDSA on P-384 and 1 more4 of 5 would be broken by a large quantum computer.
Advisories
1 in the storeOSV last read 3 December 2026, 16:52 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, ECDSA on P-256, ECDSA on P-384, Ed25519 before large quantum computers exist.

1 in the store

Advisories

Advisories for jsonwebtoken
AdvisoryIdAffected versionsFixed inSource's rating
jsonwebtoken has Type Confusion that leads to potential authorization bypassGHSA-h395-gr6q-cpjcbefore 10.3.0Fixed in 10.3.0Rated Moderate

1 listed

Findings

Findings for jsonwebtoken
FindingIdSeverityUpdated
jsonwebtoken has Type Confusion that leads to potential authorization bypassNMN-2026-0174Severity Moderate3 December 2026

Reviewed 3 December 2026

Sources

  1. crates.io metadata for jsonwebtokencrates.ioRetrieved 3 December 2026
  2. jsonwebtoken 12.0.0 README on crates.iocrates.ioRetrieved 3 December 2026
  3. jsonwebtoken documentation: enum.Algorithmdocs.rsRetrieved 3 December 2026

Full record

Package
jsonwebtoken
Ecosystem
crates.io
Role
Protocol
Status
Not marked deprecated by its registry or maintainers.
Notes
The cryptography comes from a selected backend feature, aws_lc_rs or rust_crypto, or from a custom provider.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:52 UTC
Findings
1 listed above.

Algorithms it provides

  • HMAC macSymmetricWeakened by Grover's search
  • RSA signatures signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
  • Ed25519 signatureClassical public keyBroken by Shor's algorithm

What a large quantum computer would change

  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.HMAC
  • Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, ECDSA on P-256, ECDSA on P-384, Ed25519

Notes describe algorithm families, not any one project.