{"answers":{"affected":"3 open source packages ship an affected version, including pyjwt and PyJWT. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32597 exists.","fix":"Upgrade pyjwt to 2.12.0 or later.","what":"CVE-2026-32597 is a high-severity vulnerability in jpadilla pyjwt, published on 12 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32597 and fix it if it is affected.\n\nWhat it is: CVE-2026-32597 is a high-severity vulnerability in jpadilla pyjwt, published on 12 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32597 exists.\n\nAffected packages and fixed versions:\n- pyjwt (PyPI): affected all versions; fixed in 2.12.0\n- pyjwt (PyPI): affected all versions; fixed in 2.12.0\n- PyJWT (PyPI): affected all versions; fixed in 2.12.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-32597/ (Markdown: https://insights.sbomify.com/CVE-2026-32597/index.md)","id":"CVE-2026-32597","markdown":"https://insights.sbomify.com/CVE-2026-32597/index.md","name":"CVE-2026-32597","record":{"aliases":["AZL-93030","BELL-CVE-2026-32597","CLEANSTART-2026-AJ13963","CLEANSTART-2026-TW81518","CLSA-2026-1775608265","CLSA-2026-1786522025","CLSA-2026-1787028607","DEBIAN-CVE-2026-32597","ECHO-b1a0-3286-88da","GHSA-752w-5fwx-jx9f","MINI-232x-3rgh-cj3x","MINI-26w8-mvh8-vhgg","MINI-49hw-ffpr-7x6x","MINI-623r-4pvp-jcqh","MINI-6p3c-x5xj-r52g","MINI-6x62-67m6-h74x","MINI-82mv-5q32-wx4j","MINI-84m4-mx65-mwmx","MINI-8cf4-6696-9rfg","MINI-94wx-mv79-h9w6","MINI-cc4j-xxwr-vqhp","MINI-chfc-28gq-m5c4","MINI-g7qr-f579-xpgq","MINI-gg5h-4798-8643","MINI-hm7q-3gmr-2h4q","MINI-hmgq-mh3r-vjj6","MINI-qqh2-qmc4-cc9f","MINI-rjjg-hrq7-wfcx","OESA-2026-3117","PYSEC-2026-120","ROOT-APP-PYPI-CVE-2026-32597","SUSE-SU-2026:1199-1","SUSE-SU-2026:1389-1","SUSE-SU-2026:1400-1","SUSE-SU-2026:20839-1","SUSE-SU-2026:20869-1","SUSE-SU-2026:20934-1","UBUNTU-CVE-2026-32597","USN-8133-1","openSUSE-SU-2026:10397-1","openSUSE-SU-2026:10681-1","openSUSE-SU-2026:20431-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python JWT library","requires_auth":"none","summary":"PyJWT fails to reject tokens with unknown critical extensions, allowing attackers to bypass security checks intended by the token issuer.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyjwt","vendor":"pyjwt_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"PyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.0.","ecosystems":["PyPI","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.2","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"PyJWT accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)","id":"CVE-2026-32597","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":36,"n_references":1,"next":{"headline":"OneUptime: Password Reset Token Logged at INFO Level","id":"CVE-2026-32598"},"packages":[{"ecosystem":"PyPI","fixed":["2.12.0"],"introduced":["0"],"last_affected":[],"package":"PyJWT","purl":null,"source":"GHSA-752w-5fwx-jx9f"},{"ecosystem":"PyPI","fixed":["2.12.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":"pkg:pypi/pyjwt","source":"GHSA-752w-5fwx-jx9f"},{"ecosystem":"PyPI","fixed":["2.12.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":"pkg:pypi/pyjwt","source":"PYSEC-2026-120"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["1.5.3-3.19.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2026:1199-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["2.12.1-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20934-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["2.4.0-150200.3.11.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:1400-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["2.12.1-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20934-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["2.9.0-2.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:20869-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["2.12.1-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/suse/python-PyJWT\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:20839-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.8.0-150400.8.10.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/opensuse/python-PyJWT\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:1389-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["2.12.1-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/opensuse/python-PyJWT\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20431-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.12.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-PyJWT","purl":"pkg:rpm/opensuse/python-PyJWT\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10397-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.8.7-1.1"],"introduced":["0"],"last_affected":[],"package":"python-social-auth-core","purl":"pkg:rpm/opensuse/python-social-auth-core\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10681-1"}],"prev":{"headline":"Glances exposes the REST API without authentication","id":"CVE-2026-32596"},"products":["pyjwt"],"published":"2026-03-12","related":[{"cvss_score":9.1,"headline":"PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard","id":"CVE-2026-102268","kev_date_added":null,"published":"2026-09-28"},{"cvss_score":7.4,"headline":"PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation","id":"CVE-2026-102266","kev_date_added":null,"published":"2026-09-28"},{"cvss_score":7.4,"headline":"PyJWT: PyJWKClient follows redirects when fetching JWKS","id":"CVE-2026-102267","kev_date_added":null,"published":"2026-09-28"},{"cvss_score":7.4,"headline":"PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard","id":"CVE-2026-102271","kev_date_added":null,"published":"2026-09-28"},{"cvss_score":7.4,"headline":"PyJWT BOM Bypass","id":"CVE-2026-102272","kev_date_added":null,"published":"2026-09-28"},{"cvss_score":7.4,"headline":"PyJWT accepts public JWK containers as HMAC secrets","id":"CVE-2026-102273","kev_date_added":null,"published":"2026-09-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["jpadilla"]},"summary":"PyJWT fails to reject tokens with unknown critical extensions, allowing attackers to bypass security checks intended by the token issuer.","url":"https://insights.sbomify.com/CVE-2026-32597/"}