Consequently, an attacker who knows the public key can forge authenticated HMAC tokens.
- CVSS
- 7.4High
- Chance of exploitation (EPSS)
- 0.22%
- Published
- Sep 28, 2026
- In the news
- Not yet
What to do
A serious security flaw in Pyjwt that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Jpadilla Pyjwt
- >= 2.4.0, < 2.14.0
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.
Affected products
Get alerts for these →Timeline 21
Latest change: Nessus plugin 380689: RockyLinux 9 : fence-agents (RLSA-2026:98503) (Nov 12, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 13, 2026
Wed, Nov 11, 2026
- DetectionNessus plugin 378824: RHEL 10 : fence-agents (RHSA-2026:98612)Tenable
- DetectionNessus plugin 378852: RHEL 9 : fence-agents (RHSA-2026:98503)Tenable
Thu, Nov 5, 2026
- DetectionNessus plugin 376427: Rocky Linux 9 [CIQ] Security Update: fence-agents-aliyun / fence-agents-all / fence-agents-amt-ws / etc Multiple Vulnerabilities (crlsa-2026_94500)Tenable
- DetectionNessus plugin 376262: SUSE SLED15 / SLES15 Security Update : python-PyJWT (SUSE-SU-2026:5064-1)Tenable
- DetectionNessus plugin 376294: MiracleLinux 9 : fence-agents-4.10.0-110.el9_8.8 (AXSA:2026-2264:18)Tenable
- DetectionNessus plugin 376421: Rocky Linux 10.2 [CIQ] Security Update: fence-agents-aliyun / fence-agents-all / fence-agents-amt-ws / etc Multiple Vulnerabilities (crlsa-2026_94501)Tenable
Wed, Nov 4, 2026
Tue, Nov 3, 2026
- DetectionNessus plugin 375679: RHEL 9 : fence-agents (RHSA-2026:94634)Tenable
- DetectionNessus plugin 375511: Oracle Linux 10 : fence-agents (ELSA-2026-94501)Tenable
- DetectionNessus plugin 375532: RHEL 9 : fence-agents (RHSA-2026:94523)Tenable
- DetectionNessus plugin 375547: RHEL 9 : fence-agents (RHSA-2026:94500)Tenable
- DetectionNessus plugin 375550: RHEL 10 : fence-agents (RHSA-2026:94501)Tenable
- DetectionNessus plugin 375551: RHEL 9 : fence-agents (RHSA-2026:94557)Tenable
- DetectionNessus plugin 375661: Oracle Linux 9 : fence-agents (ELSA-2026-94500)Tenable
Wed, Oct 28, 2026
Sun, Oct 25, 2026
Mon, Sep 28, 2026
- CVECVE-2026-102271 published (CVSS 7.4)CVE Program · 21:17 UTC
References 4
- github.com Patch /jpadilla/pyjwt/commit/2798504fa2663364573cf2d1043d8d7fef389499
- github.com ExploitPatchVendor Advisory /jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773
- github.com ExploitPatchVendor Advisory /jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773
- github.com /jpadilla/pyjwt/releases/tag/2.14.0