๐Ÿ” CVE Alert

CVE-2026-18500

HIGH 8.1

@fastify/jwt vulnerable to authorization bypass via global secret overriding the per-request key

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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

CWE CWE-347
Vendor @fastify/jwt
Product @fastify/jwt
Published Aug 15, 2026
Stay Ahead of the Next One

Get instant alerts for @fastify/jwt @fastify/jwt

Be the first to know when new high vulnerabilities affecting @fastify/jwt @fastify/jwt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

@fastify/jwt / @fastify/jwt
0 < 10.2.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/fastify-jwt/security/advisories/GHSA-j4cx-787j-xjqg cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” incogbyte mcollina UlisesGascon