Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-142549 — vapor jwt-kit

Medium · CVSS 4.9EPSS 0.2% First seen December 02, 2026

One of 3 vapor jwt-kit vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Research article

JWTKit Vulnerability Enables Exploitation of Expired Certificates

CVECVE-2026-142549
Vendor and productvapor jwt-kit
PublishedDecember 03, 2026 22:05 UTC
Research cut-offDecember 03, 2026 21:50 UTC
Sources reviewed4: NVD record (last modified 2026-12-03); CISA KEV catalog; GitHub advisory (2026-12-02); FIRST EPSS (2026-12-03)

Executive summary

letting someone who holds the signing secret for a certificate that has lapsed but was once trusted get freshly issued tokens approved even though the expiry date has passed, carrying a CVSS 3.1 rating of 4.9 MEDIUM [1] The vulnerability impacts versions prior to 5.8.0 [3]. The reviewed sources do not report evidence of exploitation [2]. The main recommendation is to upgrade to the fixed version 5.8.0 [1].

Key points

  • CVE-2026-142549 affects the JWTKit library, allowing attackers to bypass certificate expiration checks [1].
  • letting someone who holds the signing secret for a certificate that has lapsed but was once trusted get freshly issued tokens approved even though the expiry date has passed, carrying a CVSS 3.1 rating of 4.9 MEDIUM [1]
  • The reviewed sources do not report evidence of exploitation [2].
  • The vulnerability impacts versions prior to 5.8.0 [3].
  • The main recommendation is to upgrade to the fixed version 5.8.0 [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1Published DateLast Modified DateRecord Status
CVE-2026-142549vaporjwt-kitCWE-3454.9 MEDIUM2026-12-02T21:18:162026-12-03T17:18:04Received

Vulnerability description

JWTKit, a Swift package used to create and check JSON Web Tokens, takes a timestamp out of the token body before checking the signature and treats it as the validation time for certificate checks [1]. This could result in newly signed tokens being accepted even if the certificate has expired [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates the vulnerability requires high privileges [1]. To exploit this vulnerability, the attacker needs access to the private key from an expired certificate that was once considered trustworthy [1]. No user interaction is required [1].

Impact analysis

The CVSS vector shows that this vulnerability has a high impact on data integrity [1]. There is no impact on confidentiality or availability [1].

Affected products and versions

Affected ProductFixed Version
vapor jwt-kit5.8.0

Exploitation and threat intelligence status

CVE-2026-142549 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-03 [2]. The estimated probability of exploitation within the next 30 days is 0.22% [4].

Detection and exposure assessment

To determine if an organization is exposed, check if the installed version of vapor jwt-kit is below 5.8.0 [1].

Remediation

The vulnerability is resolved in version 5.8.0 [1]. Users should update to this version to reduce the risk [1].

Remediation checklist

  1. Upgrade vapor jwt-kit to version 5.8.0 to address the vulnerability [1].
  2. Verify the installed version of JWTKit to ensure it is not below 5.8.0 [1].
  3. Monitoring for signs of certificate misuse or unauthorized token validation is general guidance, not from the NVD record [1].

Evidence gaps

  • The sources do not describe the internal workings of the affected component.
  • The sources do not mention any alternative solutions.
  • The sources do not provide a detailed scenario for exploitation.
  • The sources do not include indicators of compromise.
  • The sources do not elaborate on the technical mechanics of the flaw.
  • The sources do not explain the root cause beyond the CWE.

References

  1. CVE-2026-142549 record. NIST National Vulnerability Database (NVD), 2026-12-03. https://nvd.nist.gov/vuln/detail/CVE-2026-142549. Accessed 2026-12-03. CVE record, CVSS scores, CWE, affected versions, official description
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-03. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-03. CISA KEV status
  3. GHSA-pfgx-7g34-46fm. GitHub Security Advisory Database, 2026-12-02. https://github.com/advisories/GHSA-pfgx-7g34-46fm. Accessed 2026-12-03. CVSS scores, affected packages, fixed version
  4. EPSS score for CVE-2026-142549. FIRST, 2026-12-03. https://api.first.org/data/v1/epss?cve=CVE-2026-142549. Accessed 2026-12-03. EPSS score

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 4.9 CVSS 3.1 base score from the CNA (github.com)

An attacker with administrator rights can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
yes, an administrator account
User action needed
no
Scope
stays within the vulnerable component
Impact
high on integrity, none on confidentiality and availability

Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Affected and fixed versions

ProductAffected versionsFixed in
github.com/vapor/jwt-kit (Swift)≤ 5.7.15.8.0
vapor jwt-kit< 5.8.0—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • vapor jwt-kit

Frequently asked questions

What is CVE-2026-142549?

letting someone who holds the signing secret for a certificate that has lapsed but was once trusted get freshly issued tokens approved even though the expiry date has passed, carrying a CVSS 3.1 rating of 4.9 MEDIUM The vulnerability impacts versions prior to 5.8.0. The reviewed sources do not report evidence of exploitation. The main recommendation is to upgrade to the fixed version 5.8.0. Weakness type: Insufficient Verification of Data Authenticity (CWE-345).

How severe is CVE-2026-142549?

CVE-2026-142549 has a CVSS 3.1 base score of 4.9 (medium), from the CNA (github.com). An attacker with administrator rights can exploit this over the network, without any user action.

Is CVE-2026-142549 being exploited?

Not as far as is known: CVE-2026-142549 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-142549?

github.com/vapor/jwt-kit (Swift) ≤ 5.7.1 (fixed in 5.8.0); vapor jwt-kit < 5.8.0.

How do I fix CVE-2026-142549?

Upgrade vapor jwt-kit to version 5.8.0 to address the vulnerability. Verify the installed version of JWTKit to ensure it is not below 5.8.0. Monitoring for signs of certificate misuse or unauthorized token validation is general guidance, not from the NVD record.

Timeline & sources

References