THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-x33g-cr3x-6449 (medium) — PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion

[GHSA] GHSA-x33g-cr3x-6449 (medium) — PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion

highgithub_advisoriesPublished 2026-10-05

GHSA-x33g-cr3x-6449 Severity: medium CVE: CVE-2026-102275

PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion

### Summary

PyJWT accepts internally inconsistent OKP private JWKs where the declared public key `x` does not correspond to the supplied private key `d`.

When `d` is present, `OKPAlgorithm.from_jwk()` constructs the Ed25519/Ed448 private key from `d`

Indicators of compromise

Original source: https://github.com/advisories/GHSA-x33g-cr3x-6449