Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-142549— JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)

Quick assessment

Affected
vapor jwt-kit
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

JWTKit 是用于签署和验证 JSON Web Token(JWT)的 Swift 库。在 5.8.0 之前,X5CVerifier.verifyJWS()(位于 Sources/JWTKit/X5C/X5CVerifier.swift)会先从 token 的负载中读取 ValidationTimePayload.signedDate(定义于 Sources/JWTKit/X5C/ValidationTimePayload.swift),然后再验证 JWS 签名。验证器会将这个未经认证的日期作为 X.509 证书

CVSS 4.9 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-142549

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对数据真实性的验证不充分
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
vapor jwt-kit < 5.8.0 -

II. Public POCs for CVE-2026-142549

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-142549

请登录查看更多情报信息。

Other References for CVE-2026-142549 (3)

Same Patch Batch · vapor · 2026-12-02 · 3 CVEs total

CVE-2026-142551 8.1 HIGH JWTKit: Missing aud validation in Apple/Google/Microsoft identity tokens can enable cross-
CVE-2026-142550 7.5 HIGH JWTKit: Unauthenticated denial of service when parsing malicious JWT headers

IV. Related Vulnerabilities