CVE-2026-142549
Last modified
CVE-2026-142549 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vapor | jwt-kit | < 5.8.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142549?
How severe is CVE-2026-142549?
How do I fix CVE-2026-142549?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142525Improper Output Neutralization for Logs (CWE-117) in add-and…6.3
- CVE-2026-142526A flaw has been found in livealvi Car-Rental-Service-Php-Pro…7.3
- CVE-2026-142527A vulnerability has been found in OPTIMUM-LINKUP Latest-Opti…4.7
- CVE-2026-14253Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-14254A race condition in the account lockout mechanism in Delphix…8.3
- CVE-2026-142541Improper Neutralization of Argument Delimiters in a Command …6.3
- CVE-2026-14255A maliciously crafted IFC file, when parsed through certain …5.5
- CVE-2026-142550JWTKit is a Swift library for signing and verifying JSON Web…7.5
- CVE-2026-142551JWTKit is a Swift library for signing and verifying JSON Web…8.1
- CVE-2026-14256ELAN reported a potential out-of-bounds write vulnerability …4.7
- CVE-2026-14257brace-expansion through 5.0.7 is vulnerable to denial of ser…7.5
- CVE-2026-14258A flaw was found in dhcpcd's IPv6 Neighbor Discovery Router …6.5
Are you affected by CVE-2026-142549?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
