github.com/vapor/jwt-kit · JWTKit: Missing aud validation
Affects github.com/vapor/jwt-kitSource GCVE Database
Not known to be exploited · CVSS 8.1 High : upgrade to 5.8.0 soon.
Data as of 2 Dec 2026, 22:17 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.1 |
|---|
- Patch
- Available – fixed in 5.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade github.com/vapor/jwt-kit to 5.8.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SwiftURLgithub.com/vapor/jwt-kit | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade JWTKit to version 5.8.0 or later, where this issue is fixed by enforcing audience claim validation for Apple, Google, and Microsoft identity tokens. Until upgraded, applications should implement additional audience validation checks outside of JWTKit to ensure tokens are intended for their client ID. No other vendor advisories indicate this is mitigated or requires no action.
Description
JWTKit versions 4.0.0 up to but not including 5.8.0 do not validate the 'aud' (audience) claim in Apple, Google, and Microsoft identity tokens. This omission allows an attacker to reuse a valid ID token issued for a different OAuth/OIDC client (audience) to authenticate to another application using the same provider keys, effectively bypassing client-specific authentication boundaries. The flaw breaks the security boundary by accepting tokens intended for other clients as valid login tokens.
References
- github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142551 (opens in a new tab)
- github.com/vapor/jwt-kit/commit/a1551090db2a3bd86f0482622e2d201c199e75ad (opens in a new tab)
- github.com/vapor/jwt-kit (opens in a new tab)
- github.com/vapor/jwt-kit/releases/tag/5.8.0 (opens in a new tab)