CVE-2026-142551
Last modified
CVE-2026-142551 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. JWTKit is a Swift library for signing and verifying JSON Web Tokens. From 4.0.0 until 5.8.0, JWTSigner.verify() in Sources/JWTKit/JWTSigner.swift invokes payload verification after validating the JWS signature, but AppleIdentityToken, GoogleIdentityToken, and MicrosoftIdentityToken in Sources/JWTKit/Vendor/AppleIdentityToken.swift, Sources/JWTKit/Vendor/GoogleIdentityToken.swift, and Sources/JWTKit/Vendor/MicrosoftIdentityToken.swift do not validate the aud claim against the application's intended audience.
Description
JWTKit is a Swift library for signing and verifying JSON Web Tokens. From 4.0.0 until 5.8.0, JWTSigner.verify() in Sources/JWTKit/JWTSigner.swift invokes payload verification after validating the JWS signature, but AppleIdentityToken, GoogleIdentityToken, and MicrosoftIdentityToken in Sources/JWTKit/Vendor/AppleIdentityToken.swift, Sources/JWTKit/Vendor/GoogleIdentityToken.swift, and Sources/JWTKit/Vendor/MicrosoftIdentityToken.swift do not validate the aud claim against the application's intended audience. An attacker can obtain a legitimate provider-issued ID token for an attacker-controlled OAuth or OIDC client and submit it to a different application using the same provider keys. If that application relies on the built-in verification as its authentication decision without a separate audience.verifyIntendedAudience(...) check, the token can be accepted despite being intended for another client. Depending on the application's identity mapping, the resulting cross-client token reuse can enable authentication bypass or account takeover. Applications that independently validate the intended audience are not affected through this issue. This issue is fixed in 5.8.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vapor | jwt-kit | >= 4.0.0, < 5.8.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142551?
How severe is CVE-2026-142551?
How do I fix CVE-2026-142551?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-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-142549JWTKit is a Swift library for signing and verifying JSON Web…4.9
- 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-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
- CVE-2026-14259Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…4.3
- CVE-2026-142590Rack is a modular Ruby web server interface. Prior to 2.2.26…4.8
- CVE-2026-142591Rack is a modular Ruby web server interface. Prior to 2.2.26…5.3
Are you affected by CVE-2026-142551?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
