THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-w2cx-738m-mc7w (high) — PyJWT accepts public JWK containers as HMAC secrets

[GHSA] GHSA-w2cx-738m-mc7w (high) — PyJWT accepts public JWK containers as HMAC secrets

medgithub_advisoriesPublished 2026-09-29

GHSA-w2cx-738m-mc7w Severity: high CVE: CVE-2026-102273

PyJWT accepts public JWK containers as HMAC secrets

### Summary

PyJWT 2.13.0 contains an incomplete defense against algorithm confusion when an application mixes symmetric and asymmetric algorithms in one verification path. A public RSA, EC, or OKP JWK can be accepted as an HMAC secret when it is wrapped in a JWKS object, nested in an arra

Indicators of compromise

Original source: https://github.com/advisories/GHSA-w2cx-738m-mc7w