CVE-2026-142551: Vulnerability in Vapor Jwt-kit

Patch soon. 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...

Swift, CWE-287, CWE-345

Exploitation
None confirmed
Severity
8.1 of 10
Attack likelihood
0.4 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-gxx9-vxm7-hgrq
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-287, CWE-345
Published
2 Dec 2026
Last change
3 Dec 2026
Likelihood rank
Higher than 41 % of all rated vulnerabilities
Analysis status
Received
Ecosystem
Swift

Affected products

Affected versions and the first fixed release

  • Vapor Jwt-kit From 4.0.0, before 5.8.0; Version >= 4.0.0, < 5.8.0. Fixed in 5.8.0

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/vapor/jwt-kit Swift, Affected from 4.0.0 through 5.7.1. Fixed in 5.8.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related