p PatchFirst

CVE-2026-107723

CVE-2026-107723 · fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.0, fast-jwt createVerifier accepts a validly signed JWT whose payload is a JSON array because src/decoder.js checks that the payload is an object but does not reject arrays. The claim validator loop then finds no named exp, nbf, iss, aud, sub, jti, or nonce properties and silently skips those configured checks, returning the array as a successfully verified payload. An attacker who can produce or influence a validly signed token may bypass expiry, issuer, audience, subject, revocation, and replay protections. The opt-in requiredClaims option can block missing claims, and signature verification itself is not bypassed. This issue is fixed in version 6.3.0.

CVSS 8.1 · Élevée · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • fast-jwt

    Versions du logiciel
    • < 6.3.0: Concernée

    Aucun correctif publié

  • fast-jwt npm

    Plages de versions concernées
    • SEMVER: < 6.3.0

    Mettez à jour vers 6.3.0

Sources originales

Vérifiez votre serveur →