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
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
- 7a3742debf6b879e912dbb9819ceec1594be812452b78c5f2e2dfc56564954f8sha256
- 3cd9ceec33ced359decbad75b413ad668ae6332csha1
- 9f219601e39026c7094d48f3fbb6678951878aa8sha1
- 1d41a6478e1562e68ff667fcd703356acf085f68sha1
- CVE-2026-102275cve
- https://resource.example/protectedurl
- https://authorization.exampleurl
Original source: https://github.com/advisories/GHSA-x33g-cr3x-6449