Skip to main content
CVE-2026-142551VulnerabilityPublished

github.com/vapor/jwt-kit · JWTKit: Missing aud validation

Affects github.com/vapor/jwt-kitSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142551· High 8.1

Not known to be exploited · CVSS 8.1 High : upgrade to 5.8.0 soon.

Data as of 2 Dec 2026, 22:17 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.18.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
SwiftURLgithub.com/vapor/jwt-kitAffected
  • >=4.0.0 <5.8.0
Fixed in
  • 5.8.0

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

Community reviews

Loading reviews…