Security mailing lists by PureSourceCode

CVE-2026-35042

HIGH 7.5CVSS 3.1

fast-jwt accepts unknown `crit` header extensions (RFC 7515 violation)

fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.1.0 and earlier, fast-jwt does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that fast-jwt does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC.

Published
6 Apr 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-345CWE-636
Also known as
GHSA-hm7r-c7qw-ghp6
Sources
NVDJSONOSV GHSA-hm7r-c7qw-ghp6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nearform fast-jwt
cpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:node.js:*:*
< 6.2.0 6.2.0
OSV npm fast-jwt <= 6.1.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.