Skip to main content
← All vulnerabilities
CVE-2025-30144GHSA-GM45-Q3V2-6CF8

Fast-JWT Improperly Validates iss Claims

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.6
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 5.0.6, the fast-jwt library does not properly validate the iss claim based on the RFC 7519. The iss (issuer) claim validation within the fast-jwt library permits an array of strings as a valid iss value. This design flaw enables a potential attack where a malicious actor crafts a JWT with an iss claim structured as ['https://attacker-domain/', 'https://valid-iss']. Due to the permissive validation, the JWT will be deemed valid. Furthermore, if the application relies on external libraries like get-jwks that do not independently validate the iss claim, the attacker can leverage this vulnerability to forge a JWT that will be accepted by the victim application. Essentially, the attacker can insert their own domain into the iss array, alongside the legitimate issuer, and bypass the intended security checks. This issue is fixed in 5.0.6.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nearform fast-jwt

    fixed in 5.0.6

  • fast-jwtnpm

    fixed in 5.0.6

References 4

GitHub · nearform/fast-jwt

datatracker.ietf.org

GitHub · tibrn/CVE-2025-30144