THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-g3jj-5cmm-3hxx (high) — fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery

[GHSA] GHSA-g3jj-5cmm-3hxx (high) — fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery

medgithub_advisoriesPublished 2026-10-08

GHSA-g3jj-5cmm-3hxx Severity: high CVE: CVE-2026-107724

fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery

### Summary

`fast-jwt` 6.2.4 silently classifies raw serialized public JWK JSON as an HMAC secret.

If an application supplies public JWK JSON text as the verifier key and HS256 is explicitly allowed or automatically inferred, an attacker who knows the same

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-g3jj-5cmm-3hxx