github.com/vapor/jwt-kit · JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)
Affects github.com/vapor/jwt-kitSource GCVE Database
Not known to be exploited · CVSS 4.9 Medium : upgrade to 5.8.0 when convenient.
Data as of 3 Dec 2026, 01:44 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.9 |
|---|
- Patch
- Available – fixed in 5.8.0
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade github.com/vapor/jwt-kit to 5.8.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SwiftURLgithub.com/vapor/jwt-kit | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade JWTKit to version 5.8.0 or later, where this vulnerability is fixed. The fix involves not using the signedDate from the unauthenticated JWT payload for certificate validation time. Instead, the certificate chain should be validated using the current time or another trusted source. Only after successful JWS signature verification should the signedDate be trusted. This prevents untrusted input from influencing certificate validation decisions.
Description
JWTKit versions prior to 5.8.0 contain a vulnerability where the X.509 certificate validation time is derived from an unauthenticated JWT payload field named signedDate. This allows an attacker who possesses the private key of an expired certificate to backdate the validation time, bypassing certificate expiration checks and causing the system to accept JWTs signed with expired certificates.
References
- github.com/vapor/jwt-kit/security/advisories/GHSA-pfgx-7g34-46fm (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142549 (opens in a new tab)
- github.com/vapor/jwt-kit/commit/8229a0aff8e60ab89f40839db4ea3e847a79bfa5 (opens in a new tab)
- github.com/vapor/jwt-kit (opens in a new tab)
- github.com/vapor/jwt-kit/releases/tag/5.8.0 (opens in a new tab)