CVE-2026-102271
Reported by github_m · Published September 28, 2026
PyJWT is fixed in 2.14.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| PyJWT | PyPI | 2.14.0 |
| fence-agents-rsb | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-ibm-vpc | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch |
| fence-agents-ibm-powervs | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch |
| fence-agents-nutanix-ahv | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-virtd-multicast-debuginfo | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.x86_64, 0:4.16.0-21.el10_2.7.x86_64 |
| fence-agents-vmware-soap | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-apc | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-scsi | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch |
| fence-agents-amt-ws | errata.rockylinux.org | 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-virtd-multicast | errata.rockylinux.org | 0:4.10.0-122.el9_9.1.x86_64, 0:4.10.0-110.el9_8.8.x86_64 |
| fence-agents-vmware-rest | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
46 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jpadilla | pyjwt | >= 2.4.0, < 2.14.0 |
| chainguard | openstack-keystone-2025.1-fips | 0 |
| PyPI | PyJWT | 2.4.0 |
| wolfi | py3-cassandra-medusa | 0 |
| chainguard | azureml-inference-server-http | 0 |
| wolfi | datadog-agent-7.80 | 0 |
| chainguard | superset-6.0 | 0 |
| chainguard | datadog-agent-7.84 | 0 |
| chainguard | openstack-placement-2026.1-fips | 0 |
| chainguard | ggshield | 0 |
| chainguard | datadog-agent-7.80 | 0 |
| chainguard | superset-fips-6.1 | 0 |
| chainguard | openstack-horizon-2025.2-fips | 0 |
| wolfi | ggshield | 0 |
| chainguard | openstack-glance-2026.1-fips | 0 |
| chainguard | openstack-designate-2025.2 | 0 |
| chainguard | openstack-designate-2026.1 | 0 |
| chainguard | airflow-core-2 | 0 |
| chainguard | openstack-nova-2025.2 | 0 |
| chainguard | datadog-agent-fips-7.84 | 0 |
…and 69 more
Timeline
- Sep 28, 2026 CVE Published
- Sep 29, 2026 EPSS Score (10 in total, the first dated here)
- Oct 6, 2026 CVE Updated
- Oct 30, 2026 Security Advisory (6 in total, the first dated here)
- Nov 4, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-102271
vulnetix vdb fixes CVE-2026-102271
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-102271/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773 x_refsource_CONFIRM
- https://github.com/jpadilla/pyjwt/commit/2798504fa2663364573cf2d1043d8d7fef389499 x_refsource_MISC
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-102271 advisory
- https://github.com/advisories/GHSA-p4g4-x82p-q773 advisory