{"id":"CVE-2026-102273","sourceIdentifier":"security-advisories@github.com","published":"2026-09-28T21:17:15.497","lastModified":"2026-10-06T18:29:42.883","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because HMAC key guard only recognizes top-level public JWK forms and misses container representations. This occurs when an application allows HMAC and asymmetric algorithms and passes a public JWK container as the raw key. As a result, public asymmetric key material is accepted as the HMAC secret. Consequently, an attacker who knows the public key can forge a token with arbitrary authenticated claims. This issue is fixed in version 2.14.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"jpadilla","product":"pyjwt","versions":[{"version":">= 2.13.0, < 2.14.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-29T13:39:56.542639Z","id":"CVE-2026-102273","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-347"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pyjwt_project:pyjwt:2.13.0:*:*:*:*:*:*:*","matchCriteriaId":"2E8D3157-85D1-4276-A526-77BD2F16C9A3"}]}]}],"references":[{"url":"https://github.com/jpadilla/pyjwt/commit/801cd128528c62d9b23fcd161d1a2e1c17982f95","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/jpadilla/pyjwt/releases/tag/2.14.0","source":"security-advisories@github.com","tags":["Product","Release Notes"]},{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w2cx-738m-mc7w","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}