lcobucci/jwt
A simple library to work with JSON Web Token and JSON Web Signature
Activity
- Latest release
- Oct 17, 2025
- Total releases
- 62
- Cadence
- ~28 days
- Last 12 months
- 1
Reach
- Stars
- 7.5k
Details
- License
- BSD-3-Clause
- First release
- Mar 08, 2014
| Version | Released | |
|---|---|---|
5.6.0
minor
|
5.6.0
minor
Dependencies (1)
Changelog
Compare changes
|
|
5.4.3
patch
| ||
5.5.0
minor
| ||
5.4.2
patch
| ||
5.4.1
patch
| ||
5.4.0
minor
| ||
5.3.0
minor
| ||
5.2.0
minor
| ||
5.1.0
minor
| ||
5.0.0
major
| ||
4.3.0
minor
| ||
4.2.1
patch
| ||
4.2.0
minor
| ||
4.1.5
patch
| ||
4.0.4
patch
| ||
3.4.6
patch
| ||
4.1.4
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.0.3
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.1.3
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.0.2
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.1.2
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.1.1
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
3.4.5
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
3.4.4
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.1.0
minor
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.0.1
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
3.4.3
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
3.4.2
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
3.4.1
patch
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.0.0
major
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
3.4.0
minor
1 CVE
CVE-2021-41106
GHSA-7322-jrq4-x5hf
Sep 29, 2021
File reference keys leads to incorrect hashes on HMAC algorithms
4.4
/ 10
Medium
Local
Low
Low
None
Unchanged
Low
Low
None
ImpactUsers of HMAC-based algorithms (HS256, HS384, and HS512) combined with The HMAC hashing functions take any string as input and, since users can issue and validate tokens, people are lead to believe that everything works properly. PatchesAll versions have been patched to always load the file contents, deprecated the WorkaroundsUse
Affected versions
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
+ 3 more Show less
4.1.2
4.1.3
4.1.4
Fixed in
3.4.6
4.0.4
4.1.5
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
4.0.0-beta1
pre
| ||
3.3.3
patch
| ||
3.3.2
patch
| ||
3.3.1
patch
| ||
3.3.0
minor
| ||
4.0.0-alpha3
pre
| ||
4.0.0-alpha2
pre
| ||
3.2.5
patch
| ||
3.2.4
patch
| ||
3.2.3
patch
| ||
3.2.2
patch
| ||
4.0.0-alpha1
pre
| ||
3.2.1
patch
| ||
3.2.0
minor
| ||
3.1.2
patch
| ||
3.1.1
patch
| ||
3.1.0
minor
| ||
3.0.5
patch
| ||
3.0.4
patch
|