Security mailing lists by PureSourceCode

CVE-2026-142549

MEDIUM 4.9CVSS 3.1

JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)

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.

Published
2 Dec 2026
Last modified
3 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-345
Also known as
GHSA-pfgx-7g34-46fm
Sources
NVDJSONCVE ListJSONOSV GHSA-pfgx-7g34-46fmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
CVE List GitHub_M CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List vapor jwt-kit = < 5.8.0
OSV SwiftURL github.com/vapor/jwt-kit < 5.8.0 5.8.0

References

History

  • 3 Dec 2026 17:56 UTC · NVD: updated (other details)
  • 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
  • 2 Dec 2026 22:21 UTC · OSV: first stored (published 2 Dec 2026)
  • 2 Dec 2026 21:25 UTC · NVD: first stored (published 2 Dec 2026)
  • 2 Dec 2026 21:00 UTC · CVE List: first stored (published 2 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.