CVE-2026-18500

HIGH CVSS 3.1: 8.1 EPSS 0.26%
Updated Sep 04, 2026
@Fastify/Jwt
Parameter Value
CVSS 8.1 (HIGH)
Affected Versions before 10.2.2
Fixed In 10.2.2
Type CWE-347 (Improper Verification of Cryptographic Signature)
Vendor @Fastify/Jwt
Public PoC No

@fastify/jwt is a JSON Web Token plugin for Fastify. In versions before 10.2.2, a per-request verification key passed to request.jwtVerify({ key }) is silently overridden by the plugin's globally configured secret, because the option merge applies the global key last. Applications that use different keys for different authorization domains, for example separate user and admin keys, therefore accept a token signed with the global key on a route that explicitly requires another key.

This lets an ordinary authenticated user cross a key-based trust boundary without knowing either secret. The issue is fixed in @fastify/jwt 10.2.2, where an explicit per-call key takes precedence over the global secret. Users should upgrade to 10.2.2.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Fastify Fastify\/Jwt
cpe:2.3:a:fastify:fastify\/jwt:*:*:*:*:*:node.js:*:*
— 10.2.2

Related Vulnerabilities