PyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation — GHSA-9J54-FG26-WV3R
GitHub · GitHub · GHSA-9J54-FG26-WV3R
ID
GHSA-9J54-FG26-WV3R
GHSA-9J54-FG26-WV3R
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
hoch
hoch
CVSS
7.4
7.4
EPSS
0.00175
0.00175
Zusammenfassung
### Summary A service that verifies HS256 tokens using an empty oct JWK through PyJWK, including a PyJWK obtained from PyJWKSet, can therefore accept attacker-generated tokens as authenticated. PyJWT 2.13.0 rejects an empty HMAC key when it is supplied through the raw `str`/`bytes` key path, but accepts the same zero-length key when it is supplied as a symmetric `PyJWK`. An `oct` JWK containing an empty Base64URL…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-09-29
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: hoch.
- Gemeldeter CVSS-Wert: 7.4 von 10.
- Gemeldeter EPSS-Wert: 0.00175.
- Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: PyJWT.
Produkt
pip: PyJWT
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.
Offizielles Advisory
Nachweise und Herkunft
- Kanonische Advisory-ID
- GHSA-9J54-FG26-WV3R
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-09-29
- Letzte Quellenaktivität
- 2026-09-29
- Weitere Kennungen
- CVE-2026-102266
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.