cve.bz

CVE-2026-102268 pyjwt project pyjwt

9.1 criticalExploit referenceEPSS 0.2%Fix available

Critical (9.1) in pyjwt project pyjwt. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pyjwt 2.14.0.

On this page
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a mutated public-key PEM as raw key bytes. As a result, HMACAlgorithm.prepare_key treats the unrecognized asymmetric public key 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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-09-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-102268 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102268?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102268?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102268 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pyjwt_project:pyjwtbefore 2.14.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ffc3-869f-jxw9PyPIpyjwt<2.14.02.14.0
PYSEC-2026-4145PyPIpyjwt<2.14.02.14.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pyjwtno fix listedDEBIAN-CVE-2026-102268
Debian14pyjwt2.14.0-1DEBIAN-CVE-2026-102268
Ubuntu22.04:LTSpyjwt2.3.0-1ubuntu0.5UBUNTU-CVE-2026-102268 USN-8916-1
Ubuntu24.04:LTSpyjwt2.7.0-1ubuntu0.3UBUNTU-CVE-2026-102268 USN-8916-1
Ubuntu26.04:LTSpyjwt2.10.1-4ubuntu1.2UBUNTU-CVE-2026-102268 USN-8916-1
Ubuntu26.10pyjwt2.13.0-1ubuntu1UBUNTU-CVE-2026-102268 USN-8916-2
UbuntuPro:16.04:LTSpyjwt1.3.0-1ubuntu0.1+esm3USN-8916-1
UbuntuPro:18.04:LTSpyjwt1.5.3+ds1-1ubuntu0.1+esm3UBUNTU-CVE-2026-102268 USN-8916-1
UbuntuPro:20.04:LTSpyjwt1.7.1-2ubuntu2.1+esm3UBUNTU-CVE-2026-102268 USN-8916-1
Red Hatenterprise_linux:9::appstreamfence-virt, fence-virtd, fence-agents and 66 more0:4.10.0-110.el9_8.8RHSA-2026:94500
Red Hatenterprise_linux:9::appstreamfence-virt, fence-virtd, fence-agents and 66 more0:4.10.0-122.el9_9.1RHSA-2026:98503
Red Hatenterprise_linux:10.2fence-virt, fence-virtd, fence-agents and 65 more0:4.16.0-21.el10_2.7RHSA-2026:94501
Red Hatenterprise_linux:10.3fence-virt, fence-virtd, fence-agents and 65 more0:4.16.0-34.el10_3.1RHSA-2026:98612
Red Hatenterprise_linux_eus:10.0fence-virt, fence-virtd, fence-agents and 65 more0:4.16.0-5.el10_0.14RHSA-2026:95012
Red Hatrhel_e4s:9.2::appstreamfence-virt, fence-virtd, fence-agents and 23 more0:4.10.0-43.el9_2.27RHSA-2026:94634
Red Hatrhel_e4s:9.2::highavailabilityfence-agents-all, fence-agents-apc, fence-agents-aws and 52 more0:4.10.0-43.el9_2.27RHSA-2026:94634
Red Hatrhel_e4s:9.2::resilientstoragefence-agents-all, fence-agents-apc, fence-agents-aws and 51 more0:4.10.0-43.el9_2.27RHSA-2026:94634
Red Hatrhel_e4s:9.4::appstreamfence-virt, fence-virtd, fence-agents and 23 more0:4.10.0-62.el9_4.31RHSA-2026:94557
Red Hatrhel_e4s:9.4::highavailabilityfence-agents-all, fence-agents-apc, fence-agents-aws and 52 more0:4.10.0-62.el9_4.31RHSA-2026:94557
Red Hatrhel_e4s:9.4::resilientstoragefence-agents-all, fence-agents-apc, fence-agents-aws and 51 more0:4.10.0-62.el9_4.31RHSA-2026:94557
Red Hatrhel_eus:9.6::appstreamfence-virt, fence-virtd, fence-agents and 66 more0:4.10.0-86.el9_6.23RHSA-2026:94523
80 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-PyJWT2.8.0-150400.8.20.1SUSE-SU-2026:5064-1
SUSELinux Enterprise Module for Public Cloud 12python-PyJWT1.5.3-3.22.1SUSE-SU-2026:5093-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-PyJWT2.12.1-160000.3.1SUSE-SU-2026:24219-1
SUSELinux Micro 6.0python-PyJWT2.9.0-159998.1.1SUSE-SU-2026:24134-1
SUSELinux Micro 6.1python-PyJWT2.12.1-slfo.1.1_3.1SUSE-SU-2026:24377-1
SUSELinux Micro 6.2python-PyJWT2.12.1-160000.3.1SUSE-SU-2026:24126-1
openSUSELeap 16.0python-PyJWT2.12.1-160000.3.1openSUSE-SU-2026:22074-1
openSUSETumbleweedpython-PyJWT2.15.1-1.1openSUSE-SU-2026:11994-1
AlmaLinux9fence-virt, fence-agents-all, fence-agents-apc and 34 more4.10.0-110.el9_8.8ALSA-2026:94500
AlmaLinux10fence-agents-apc, fence-agents-eps, fence-agents-rsa and 33 more4.16.0-21.el10_2.7ALSA-2026:94501
Rocky Linux9fence-agents0:4.10.0-110.el9_8.8RLSA-2026:94500
Rocky Linux9fence-virt, fence-virtd, fence-virtd-cpg and 65 more0:4.10.0-122.el9_9.1RLSA-2026:98503
Rocky Linux10fence-agents0:4.16.0-21.el10_2.7RLSA-2026:94501
Rocky Linux10fence-virt, fence-virtd, fence-virtd-cpg and 64 more0:4.16.0-34.el10_3.1RLSA-2026:98612
Azure Linux3python-jwt2.15.1-1AZL-104991
Alpaquita25, streampy3-jwt2.15.1-r0BELL-CVE-2026-102268

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This vulnerability is rated as Critical severity for Red Hat products because an unauthenticated remote attacker could forge valid cryptographic tokens and bypass authentication checks without knowing the private signing key. Exploitation occurs when consuming applications configure token verification to accept both symmetric and asymmetric algorithms simultaneously, allowing an asymmetric public key to be mishandled as a symmetric secret. Deployments that strictly enforce a single algorithm type or validate tokens using JSON Web Key sets do not permit this algorithm confusion and remain unaffected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-21.el10_2.7Fixed 2026-11-03RHSA-2026:94501
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-34.el10_3.1Fixed 2026-11-11RHSA-2026:98612
Red Hat Enterprise Linux 10.0 Extended Update Supportfence-agents-0:4.16.0-5.el10_0.14Fixed 2026-11-04RHSA-2026:95012
Red Hat Enterprise Linux 9fence-agents-0:4.10.0-110.el9_8.8Fixed 2026-11-03RHSA-2026:94500
Red Hat Enterprise Linux 9fence-agents-0:4.10.0-122.el9_9.1Fixed 2026-11-11RHSA-2026:98503
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsfence-agents-0:4.10.0-43.el9_2.27Fixed 2026-11-03RHSA-2026:94634
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsfence-agents-0:4.10.0-62.el9_4.31Fixed 2026-11-03RHSA-2026:94557
Red Hat Enterprise Linux 9.6 Extended Update Supportfence-agents-0:4.10.0-86.el9_6.23Fixed 2026-11-03RHSA-2026:94523
Red Hat Satellite 6.16 for RHEL 8python-pyjwt-0:2.15.1-1.el8pcFixed 2026-11-12RHSA-2026:99949
Red Hat Satellite 6.16 for RHEL 9python-pyjwt-0:2.15.1-1.el9pcFixed 2026-11-12RHSA-2026:99949
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel9-operatorNot affected
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Not affected
118 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102268.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • covepseng/cve-2026-102268-poc Harbor Check: matches CVE 0 stars, Python, created
    Exploitability PoC for CVE-2026-102-268 (PyJWT Asymmetric-PEM detection bypass).

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON