ADVISORIES

Vulnerability

CVE-2026-102271

PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a DER public key as the shared verification key. As a result, PyJWT uses public DER bytes as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.

184 advisories report this vulnerability, across 14 ecosystems.

Advisories in openSUSE

  • SUSEVEX-CVE-2026-102271

    PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER…

    Important CVE-2026-102271 SUSEopenSUSE Updated 26 November 2026
  • openSUSE-SU-2026:22074-1

    Security update for python-PyJWT

    CVE-2026-101917CVE-2026-101918CVE-2026-102267CVE-2026-102268 openSUSE Updated 19 October 2026
  • openSUSE-SU-2026:22383-1

    Security update for python-PyJWT

    CVE-2026-101917CVE-2026-101918CVE-2026-102267CVE-2026-102268 openSUSE Updated 21 November 2026

References