CVE-2026-142551
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.
CVSS
8.1
Alto
EPSS
—
KEV
—
Exploit Today
—
0-100
Publicado: 2 dic 2026 · Última mod.: 3 dic 2026 · CWE-287 · CWE-345
Sin historial EPSS suficiente todavía.
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.
- github.comhttps://github.com/vapor/jwt-kit/commit/a1551090db2a3bd86f0482622e2d201c199e75ad
- github.comhttps://github.com/vapor/jwt-kit/releases/tag/5.8.0
- github.comhttps://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq
- github.comhttps://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq