CVE-2026-18500

@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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:fastify:fastify\/jwt:*:*:*:*:*:node.js:*:*

History

04 Sep 2026, 13:17

Type Values Removed Values Added
CPE cpe:2.3:a:fastify:fastify\/jwt:*:*:*:*:*:node.js:*:*
First Time Fastify
Fastify fastify\/jwt
References () https://cna.openjsf.org/security-advisories.html - () https://cna.openjsf.org/security-advisories.html - Vendor Advisory
References () https://github.com/fastify/fastify-jwt/security/advisories/GHSA-j4cx-787j-xjqg - () https://github.com/fastify/fastify-jwt/security/advisories/GHSA-j4cx-787j-xjqg - Mitigation, Vendor Advisory

15 Aug 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-15 14:17

Updated : 2026-09-04 13:17


NVD link : CVE-2026-18500

Mitre link : CVE-2026-18500

CVE.ORG link : CVE-2026-18500


JSON object : View

Products Affected

fastify

  • fastify\/jwt
CWE
CWE-347

Improper Verification of Cryptographic Signature