PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed

Summary

CVECVE-2026-48526
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-28 16:16:29 UTC
Updated2026-07-13 13:16:43 UTC
DescriptionPyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.

Risk And Classification

Primary CVSS: v3.1 7.4 HIGH from ADP

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

EPSS: 0.003940000 probability, percentile 0.314810000 (date 2026-07-13)

Problem Types: CWE-287 | CWE-347 | CWE-287 CWE-287: Improper Authentication | CWE-347 CWE-347: Improper Verification of Cryptographic Signature | CWE-347 Improper Verification of Cryptographic Signature


VersionSourceTypeScoreSeverityVector
3.1ADPCVSS7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1[email protected]Secondary7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1CNADECLARED7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Pyjwt Project Pyjwt All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jpadilla Pyjwt affected < 2.13.0 Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.19 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AppStream EUS V. 10.0 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AppStream V. 10 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AppStream E4S V.9.2 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AppStream E4S V.9.4 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AppStream EUS V.9.6 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AppStream V. 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux High Availability E4S V.9.2 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux High Availability E4S V.9.4 Not specified Not specified
ADP Red Hat Red Hat AI Inference Server 3.3 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.7 Not specified Not specified
ADP Red Hat Red Hat Hardened Images Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 3.3 Not specified Not specified
ADP Red Hat Red Hat Quay 3.10 Not specified Not specified
ADP Red Hat Red Hat Quay 3.12 Not specified Not specified
ADP Red Hat Red Hat Quay 3.9 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.18 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux Resilient Storage E4S V.9.2 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux Resilient Storage E4S V.9.4 Not specified Not specified
ADP Red Hat Migration Toolkit For Applications 8 Not specified Not specified
ADP Red Hat OpenShift Lightspeed Not specified Not specified
ADP Red Hat Red Hat AI Inference Server Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AI RHEL AI 3 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat Quay 3 Not specified Not specified
ADP Red Hat Red Hat Satellite 6 Not specified Not specified
ADP Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
ADP Red Hat Red Hat Update Infrastructure 4 For Cloud Providers Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:33683 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:35837 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:34374 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48526.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:35845 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-48526 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:26206 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:30076 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:25902 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:28571 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24069 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:37275 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:30089 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:35835 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:34160 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:7634 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:30088 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:34365 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/jpadilla/pyjwt/security/advisories/GHSA-xgmm-8j9v-c9wx [email protected] github.com Exploit, Vendor Advisory
access.redhat.com/errata/RHSA-2026:35836 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:25928 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:36350 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-05-28T16:01:22.805ZReported to Red Hat.
ADP2026-05-28T15:09:09.258ZMade public.

Solutions

ADP: RHSA-2026:34160: Red Hat Ansible Automation Platform 2.6 for RHEL 9

ADP: RHSA-2026:34365: Red Hat Satellite 6.19 for RHEL 9

ADP: RHSA-2026:35845: Red Hat Enterprise Linux AppStream EUS (v. 10.0)

ADP: RHSA-2026:25902: Red Hat Enterprise Linux AppStream (v. 10)

ADP: RHSA-2026:35837: Red Hat Enterprise Linux AppStream E4S (v.9.2), Red Hat Enterprise Linux High Availability E4S (v.9.2), Red Hat Enterprise Linux Resilient Storage E4S (v.9.2)

ADP: RHSA-2026:35836: Red Hat Enterprise Linux AppStream E4S (v.9.4), Red Hat Enterprise Linux High Availability E4S (v.9.4), Red Hat Enterprise Linux Resilient Storage E4S (v.9.4)

ADP: RHSA-2026:35835: Red Hat Enterprise Linux AppStream EUS (v.9.6)

ADP: RHSA-2026:26206: Red Hat Enterprise Linux AppStream (v. 9)

ADP: RHSA-2026:30089: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:30088: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:34374: Red Hat Ansible Automation Platform 2.6

ADP: RHSA-2026:25928: Red Hat Ansible Automation Platform 2.7

ADP: RHSA-2026:7634: Red Hat Hardened Images

ADP: RHSA-2026:24069: Red Hat Hardened Images

ADP: RHSA-2026:37275: Red Hat OpenShift AI 3.3

ADP: RHSA-2026:33683: Red Hat Quay 3.10

ADP: RHSA-2026:30076: Red Hat Quay 3.12

ADP: RHSA-2026:28571: Red Hat Quay 3.9

ADP: RHSA-2026:36350: Red Hat Satellite 6.18

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report