Search
Find a vulnerability
Search criteria
6 vulnerabilities found for jwt-kit by vapor
CVE-2026-142551 (GCVE-0-2026-142551)
Vulnerability from nvd – Published: 2026-12-02 20:54 – Updated: 2026-12-02 23:02
VLAI
EPSS
VEX
Title
JWTKit: Missing aud validation in Apple/Google/Microsoft identity tokens can enable cross-client authentication bypass
Summary
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.
Severity
8.1 (High)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-02 23:02 UTC
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/vapor/jwt-kit/security/advisor… | x_refsource_CONFIRM |
| https://github.com/vapor/jwt-kit/commit/a1551090d… | x_refsource_MISC |
| https://github.com/vapor/jwt-kit/releases/tag/5.8.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-142551",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-02T23:02:29.293545Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T23:02:51.688Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jwt-kit",
"vendor": "vapor",
"versions": [
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 5.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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\u0027s 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": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-287",
"description": "CWE-287: Improper Authentication",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-345",
"description": "CWE-345: Insufficient Verification of Data Authenticity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T20:54:52.923Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq"
},
{
"name": "https://github.com/vapor/jwt-kit/commit/a1551090db2a3bd86f0482622e2d201c199e75ad",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/commit/a1551090db2a3bd86f0482622e2d201c199e75ad"
},
{
"name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
}
],
"source": {
"advisory": "GHSA-gxx9-vxm7-hgrq",
"discovery": "UNKNOWN"
},
"title": "JWTKit: Missing aud validation in Apple/Google/Microsoft identity tokens can enable cross-client authentication bypass"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-142551",
"datePublished": "2026-12-02T20:54:52.923Z",
"dateReserved": "2026-12-02T19:29:19.037Z",
"dateUpdated": "2026-12-02T23:02:51.688Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-142550 (GCVE-0-2026-142550)
Vulnerability from nvd – Published: 2026-12-02 20:52 – Updated: 2026-12-03 14:56
VLAI
EPSS
VEX
Title
JWTKit: Unauthenticated denial of service when parsing malicious JWT headers
Summary
JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0.
Severity
7.5 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 14:55 UTC
CWE
- CWE-681 - Incorrect Conversion between Numeric Types
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/vapor/jwt-kit/security/advisor… | x_refsource_CONFIRM |
| https://github.com/vapor/jwt-kit/commit/a87b6f52e… | x_refsource_MISC |
| https://github.com/vapor/jwt-kit/releases/tag/5.8.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-142550",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T14:55:58.884448Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-03T14:56:18.104Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jwt-kit",
"vendor": "vapor",
"versions": [
{
"status": "affected",
"version": "\u003c 5.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-681",
"description": "CWE-681: Incorrect Conversion between Numeric Types",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T20:52:38.265Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-hfm2-66rr-3mcf",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-hfm2-66rr-3mcf"
},
{
"name": "https://github.com/vapor/jwt-kit/commit/a87b6f52efa0bf47f4925d52380e4f2d8346c003",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/commit/a87b6f52efa0bf47f4925d52380e4f2d8346c003"
},
{
"name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
}
],
"source": {
"advisory": "GHSA-hfm2-66rr-3mcf",
"discovery": "UNKNOWN"
},
"title": "JWTKit: Unauthenticated denial of service when parsing malicious JWT headers"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-142550",
"datePublished": "2026-12-02T20:52:38.265Z",
"dateReserved": "2026-12-02T19:29:19.037Z",
"dateUpdated": "2026-12-03T14:56:18.104Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-142549 (GCVE-0-2026-142549)
Vulnerability from nvd – Published: 2026-12-02 20:47 – Updated: 2026-12-03 16:11
VLAI
EPSS
VEX
Title
JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)
Summary
JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, X5CVerifier.verifyJWS() in Sources/JWTKit/X5C/X5CVerifier.swift reads ValidationTimePayload.signedDate, defined in Sources/JWTKit/X5C/ValidationTimePayload.swift, from the token payload before verifying the JWS signature. The verifier uses that unauthenticated date as fixedExpiryValidationTime for X.509 certificate validation. An attacker possessing the private key of an expired, previously trusted certificate can backdate the value and cause newly signed tokens to be accepted despite certificate expiration. This issue is fixed in version 5.8.0.
Severity
4.9 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 15:10 UTC
CWE
- CWE-345 - Insufficient Verification of Data Authenticity
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/vapor/jwt-kit/security/advisor… | x_refsource_CONFIRM |
| https://github.com/vapor/jwt-kit/commit/8229a0aff… | x_refsource_MISC |
| https://github.com/vapor/jwt-kit/releases/tag/5.8.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-142549",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T15:10:18.823711Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-03T16:11:07.771Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jwt-kit",
"vendor": "vapor",
"versions": [
{
"status": "affected",
"version": "\u003c 5.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, X5CVerifier.verifyJWS() in Sources/JWTKit/X5C/X5CVerifier.swift reads ValidationTimePayload.signedDate, defined in Sources/JWTKit/X5C/ValidationTimePayload.swift, from the token payload before verifying the JWS signature. The verifier uses that unauthenticated date as fixedExpiryValidationTime for X.509 certificate validation. An attacker possessing the private key of an expired, previously trusted certificate can backdate the value and cause newly signed tokens to be accepted despite certificate expiration. This issue is fixed in version 5.8.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.9,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-345",
"description": "CWE-345: Insufficient Verification of Data Authenticity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T20:47:46.330Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-pfgx-7g34-46fm",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-pfgx-7g34-46fm"
},
{
"name": "https://github.com/vapor/jwt-kit/commit/8229a0aff8e60ab89f40839db4ea3e847a79bfa5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/commit/8229a0aff8e60ab89f40839db4ea3e847a79bfa5"
},
{
"name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
}
],
"source": {
"advisory": "GHSA-pfgx-7g34-46fm",
"discovery": "UNKNOWN"
},
"title": "JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-142549",
"datePublished": "2026-12-02T20:47:46.330Z",
"dateReserved": "2026-12-02T19:29:19.037Z",
"dateUpdated": "2026-12-03T16:11:07.771Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-142551 (GCVE-0-2026-142551)
Vulnerability from cvelistv5 – Published: 2026-12-02 20:54 – Updated: 2026-12-02 23:02
VLAI
EPSS
VEX
Title
JWTKit: Missing aud validation in Apple/Google/Microsoft identity tokens can enable cross-client authentication bypass
Summary
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.
Severity
8.1 (High)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-02 23:02 UTC
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/vapor/jwt-kit/security/advisor… | x_refsource_CONFIRM |
| https://github.com/vapor/jwt-kit/commit/a1551090d… | x_refsource_MISC |
| https://github.com/vapor/jwt-kit/releases/tag/5.8.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-142551",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-02T23:02:29.293545Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T23:02:51.688Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jwt-kit",
"vendor": "vapor",
"versions": [
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 5.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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\u0027s 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": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-287",
"description": "CWE-287: Improper Authentication",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-345",
"description": "CWE-345: Insufficient Verification of Data Authenticity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T20:54:52.923Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-gxx9-vxm7-hgrq"
},
{
"name": "https://github.com/vapor/jwt-kit/commit/a1551090db2a3bd86f0482622e2d201c199e75ad",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/commit/a1551090db2a3bd86f0482622e2d201c199e75ad"
},
{
"name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
}
],
"source": {
"advisory": "GHSA-gxx9-vxm7-hgrq",
"discovery": "UNKNOWN"
},
"title": "JWTKit: Missing aud validation in Apple/Google/Microsoft identity tokens can enable cross-client authentication bypass"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-142551",
"datePublished": "2026-12-02T20:54:52.923Z",
"dateReserved": "2026-12-02T19:29:19.037Z",
"dateUpdated": "2026-12-02T23:02:51.688Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-142550 (GCVE-0-2026-142550)
Vulnerability from cvelistv5 – Published: 2026-12-02 20:52 – Updated: 2026-12-03 14:56
VLAI
EPSS
VEX
Title
JWTKit: Unauthenticated denial of service when parsing malicious JWT headers
Summary
JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0.
Severity
7.5 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 14:55 UTC
CWE
- CWE-681 - Incorrect Conversion between Numeric Types
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/vapor/jwt-kit/security/advisor… | x_refsource_CONFIRM |
| https://github.com/vapor/jwt-kit/commit/a87b6f52e… | x_refsource_MISC |
| https://github.com/vapor/jwt-kit/releases/tag/5.8.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-142550",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T14:55:58.884448Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-03T14:56:18.104Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jwt-kit",
"vendor": "vapor",
"versions": [
{
"status": "affected",
"version": "\u003c 5.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-681",
"description": "CWE-681: Incorrect Conversion between Numeric Types",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T20:52:38.265Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-hfm2-66rr-3mcf",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-hfm2-66rr-3mcf"
},
{
"name": "https://github.com/vapor/jwt-kit/commit/a87b6f52efa0bf47f4925d52380e4f2d8346c003",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/commit/a87b6f52efa0bf47f4925d52380e4f2d8346c003"
},
{
"name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
}
],
"source": {
"advisory": "GHSA-hfm2-66rr-3mcf",
"discovery": "UNKNOWN"
},
"title": "JWTKit: Unauthenticated denial of service when parsing malicious JWT headers"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-142550",
"datePublished": "2026-12-02T20:52:38.265Z",
"dateReserved": "2026-12-02T19:29:19.037Z",
"dateUpdated": "2026-12-03T14:56:18.104Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-142549 (GCVE-0-2026-142549)
Vulnerability from cvelistv5 – Published: 2026-12-02 20:47 – Updated: 2026-12-03 16:11
VLAI
EPSS
VEX
Title
JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)
Summary
JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, X5CVerifier.verifyJWS() in Sources/JWTKit/X5C/X5CVerifier.swift reads ValidationTimePayload.signedDate, defined in Sources/JWTKit/X5C/ValidationTimePayload.swift, from the token payload before verifying the JWS signature. The verifier uses that unauthenticated date as fixedExpiryValidationTime for X.509 certificate validation. An attacker possessing the private key of an expired, previously trusted certificate can backdate the value and cause newly signed tokens to be accepted despite certificate expiration. This issue is fixed in version 5.8.0.
Severity
4.9 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 15:10 UTC
CWE
- CWE-345 - Insufficient Verification of Data Authenticity
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/vapor/jwt-kit/security/advisor… | x_refsource_CONFIRM |
| https://github.com/vapor/jwt-kit/commit/8229a0aff… | x_refsource_MISC |
| https://github.com/vapor/jwt-kit/releases/tag/5.8.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-142549",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T15:10:18.823711Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-03T16:11:07.771Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jwt-kit",
"vendor": "vapor",
"versions": [
{
"status": "affected",
"version": "\u003c 5.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, X5CVerifier.verifyJWS() in Sources/JWTKit/X5C/X5CVerifier.swift reads ValidationTimePayload.signedDate, defined in Sources/JWTKit/X5C/ValidationTimePayload.swift, from the token payload before verifying the JWS signature. The verifier uses that unauthenticated date as fixedExpiryValidationTime for X.509 certificate validation. An attacker possessing the private key of an expired, previously trusted certificate can backdate the value and cause newly signed tokens to be accepted despite certificate expiration. This issue is fixed in version 5.8.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.9,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-345",
"description": "CWE-345: Insufficient Verification of Data Authenticity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T20:47:46.330Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-pfgx-7g34-46fm",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-pfgx-7g34-46fm"
},
{
"name": "https://github.com/vapor/jwt-kit/commit/8229a0aff8e60ab89f40839db4ea3e847a79bfa5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/commit/8229a0aff8e60ab89f40839db4ea3e847a79bfa5"
},
{
"name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
}
],
"source": {
"advisory": "GHSA-pfgx-7g34-46fm",
"discovery": "UNKNOWN"
},
"title": "JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-142549",
"datePublished": "2026-12-02T20:47:46.330Z",
"dateReserved": "2026-12-02T19:29:19.037Z",
"dateUpdated": "2026-12-03T16:11:07.771Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}