Skip to main content

Fastify Jwt

3 CVEs product

Monthly

CVE-2026-18500 Aug 15, 14:17 HIGH PATCH This Week

Key-based authorization bypass in @fastify/jwt before 10.2.2 permits any low-privileged authenticated user holding a token signed by the application's global secret to access routes explicitly restricted to a separate per-request key, silently crossing a cryptographic trust boundary. Applications implementing multi-domain JWT authorization - for example, separating user and admin token verification keys - are specifically at risk, as the plugin's option merge incorrectly applies the global key last, overriding the developer-supplied per-request key. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog, but the fix is available in version 10.2.2 and the attack path is mechanically straightforward for any authenticated user.

Information Disclosure Jwt Attack Fastify Fastify Jwt
NVD GitHub VulDB
CVSS 3.1
8.1
EPSS
0.2%
CVE-2026-110024 Oct 18, 14:31 MEDIUM PATCH This Month

JWT expiration enforcement in @fastify/jwt versions prior to 10.2.5 can be silently disabled because top-level sign() and verify() replace, rather than merge, globally configured JWT options with any per-call options object. Applications that use those top-level APIs while relying on global expiresIn or maxAge settings may issue tokens with no exp claim and accept stale tokens beyond the intended maximum age; route-level sign/verify decorators are unaffected. The vendor-released patch is 10.2.5, and no public exploit is identified at time of analysis, with no CISA KEV confirmation of active exploitation.

Information Disclosure Fastify Jwt
NVD GitHub
CVSS 3.1
6.8
EPSS
0.2%
CVE-2026-107275 Oct 08, 11:05 MEDIUM PATCH This Month

Tokens issued through @fastify/jwt before 10.2.3 can be created without an exp claim - and therefore never expire - when expiresIn, notBefore, or maxAge is given a time-span string the plugin's parser cannot read, such as a compound span like '1h30m', a month unit, an ISO 8601 duration, a value using a decimal comma, or a string with surrounding whitespace. The identical flaw silently disables maxAge age-rejection on the verification path, so a token that should be rejected as too old is accepted. The issue is tracked as CVSS 3.1 6.8 (Medium; AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N), and the vector's PR:L reflects that an attacker generally needs to already hold a token - their own aged one or a stolen/leaked one - to benefit, with AC:H because the unparseable string must actually be in use as a non-default developer misconfiguration; no public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis.

Information Disclosure Node.js Fastify Jwt
NVD GitHub
CVSS 3.1
6.8
EPSS
0.3%
EPSS 0% CVSS 8.1
HIGH PATCH This Week

Key-based authorization bypass in @fastify/jwt before 10.2.2 permits any low-privileged authenticated user holding a token signed by the application's global secret to access routes explicitly restricted to a separate per-request key, silently crossing a cryptographic trust boundary. Applications implementing multi-domain JWT authorization - for example, separating user and admin token verification keys - are specifically at risk, as the plugin's option merge incorrectly applies the global key last, overriding the developer-supplied per-request key. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog, but the fix is available in version 10.2.2 and the attack path is mechanically straightforward for any authenticated user.

Information Disclosure Jwt Attack Fastify +1
NVD GitHub VulDB
EPSS 0% CVSS 6.8
MEDIUM PATCH This Month

JWT expiration enforcement in @fastify/jwt versions prior to 10.2.5 can be silently disabled because top-level sign() and verify() replace, rather than merge, globally configured JWT options with any per-call options object. Applications that use those top-level APIs while relying on global expiresIn or maxAge settings may issue tokens with no exp claim and accept stale tokens beyond the intended maximum age; route-level sign/verify decorators are unaffected. The vendor-released patch is 10.2.5, and no public exploit is identified at time of analysis, with no CISA KEV confirmation of active exploitation.

Information Disclosure Fastify Jwt
NVD GitHub
EPSS 0% CVSS 6.8
MEDIUM PATCH This Month

Tokens issued through @fastify/jwt before 10.2.3 can be created without an exp claim - and therefore never expire - when expiresIn, notBefore, or maxAge is given a time-span string the plugin's parser cannot read, such as a compound span like '1h30m', a month unit, an ISO 8601 duration, a value using a decimal comma, or a string with surrounding whitespace. The identical flaw silently disables maxAge age-rejection on the verification path, so a token that should be rejected as too old is accepted. The issue is tracked as CVSS 3.1 6.8 (Medium; AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N), and the vector's PR:L reflects that an attacker generally needs to already hold a token - their own aged one or a stolen/leaked one - to benefit, with AC:H because the unparseable string must actually be in use as a non-default developer misconfiguration; no public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis.

Information Disclosure Node.js Fastify Jwt
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy