CVE-2026-102271: jpadilla pyjwt
Vulnerability summary
CVE-2026-102271 is a high (CVSS 7.4) vulnerability in jpadilla pyjwt. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 28-09-2026PublishedVulnerability first disclosed.
- 01-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPyjwt
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard79 products
- airflow-2< 2.11.2-r25
- airflow-core-2All versions (No fix recorded) | < 2.11.2-r10
- authentik-2026.5< 2026.5.7-r4
- authentik-fips-2026.5< 2026.5.7-r7
- azureml-inference-server-http< 1.5.1-r10
Wolfi12 products
- datadog-agent-7.77-core-integrations< 7.77.3-r26
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79-core-integrations< 7.79.2-r20
- datadog-agent-7.80-core-integrations< 7.80.4-r19
- datadog-agent-7.81-core-integrations< 7.81.3-r8
Debian1 product
- pyjwtAll versions (No fix recorded) | < 2.14.0-1
Jpadilla1 product
- pyjwt≥ 2.4.0, < 2.14.0
Pyjwt_project1 product
- pyjwt≥ 2.4.0, < 2.14.0
PyPI1 product
- pyjwt≥ 2.4.0, < 2.14.0
Ubuntu1 product
- pyjwtAll versions (No fix recorded)
7 vendors · 96 products
References
11 links- github.com/jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773X Refsource CONFIRMWEBREPORTAdvisoryExploitPatchVendor Advisory
- github.com/jpadilla/pyjwt/commit/2798504fa2663364573cf2d1043d8d7fef389499X Refsource MISCWEBREPORTFIXPatch
- github.com/jpadilla/pyjwtPACKAGE
- pypi.org/project/pyjwtPACKAGE