Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-142549
Published:December 02, 2026
Updated:December 04, 2026
JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, X5CVerifier.verifyJWS() in Sources/JWTKit/X5C/X5CVerifier.swift reads ValidationTimePayload.signedDate, defined in Sources/JWTKit/X5C/ValidationTimePayload.swift, from the token payload before verifying the JWS signature. The verifier uses that unauthenticated date as fixedExpiryValidationTime for X.509 certificate validation. An attacker possessing the private key of an expired, previously trusted certificate can backdate the value and cause newly signed tokens to be accepted despite certificate expiration. This issue is fixed in version 5.8.0.
Affected Packages
https://github.com/vapor/jwt-kit.git (GITHUB):
Affected version(s) >=5.0.0-beta.1 <5.8.0 || >=5.0.0 <5.8.0
Fix Suggestion:
Update to version 5.8.0
github.com/vapor/jwt-kit (SWIFT):
Affected version(s) >=5.0.0 <5.8.0 || >=5.0.0-beta.1 <5.8.0
Fix Suggestion:
Update to version 5.8.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Insufficient Verification of Data Authenticity
EPSS
Base Score:
0.22