{"answers":{"affected":"3 open source packages ship an affected version, including pyjwt. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48526 exists.","fix":"Upgrade pyjwt to 2.13.0 or later.","what":"CVE-2026-48526 is a high-severity authentication bypass vulnerability in jpadilla pyjwt, published on 28 May 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-48526 and fix it if it is affected.\n\nWhat it is: CVE-2026-48526 is a high-severity authentication bypass vulnerability in jpadilla pyjwt, published on 28 May 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-48526 exists.\n\nAffected packages and fixed versions:\n- pyjwt (PyPI): affected all versions; fixed in 2.13.0\n- pyjwt (PyPI): affected all versions; fixed in 2.13.0\n- pyjwt (PyPI): affected all versions; fixed in 2.13.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-48526/ (Markdown: https://insights.sbomify.com/CVE-2026-48526/index.md)","id":"CVE-2026-48526","markdown":"https://insights.sbomify.com/CVE-2026-48526/index.md","name":"CVE-2026-48526","record":{"aliases":["ALSA-2026:25902","ALSA-2026:26206","AZL-93033","BELL-CVE-2026-48526","CLEANSTART-2026-VL72370","CLSA-2026-1786520090","DEBIAN-CVE-2026-48526","ECHO-b75b-8a3c-c7ae","GHSA-xgmm-8j9v-c9wx","MINI-363h-7vp2-5p6p","MINI-3cw2-c23h-8rqv","MINI-3j5c-76qp-28h2","MINI-4mhg-v5mr-fpr9","MINI-4vpw-5gx4-r3v6","MINI-52hx-gprx-rqmc","MINI-66mw-mwhr-g2g4","MINI-768r-6wc5-pgwf","MINI-79j6-7cmx-2m5c","MINI-7m5h-jj2c-3g44","MINI-7wg5-926j-c6vc","MINI-87mg-76h5-jgwc","MINI-8hx7-43h6-43mh","MINI-8j2h-mcm4-g297","MINI-cgxp-mjh4-gfrm","MINI-cpf5-cqmx-j76h","MINI-h37w-j3q8-8vvr","MINI-h8cf-hpw2-jwch","MINI-hf57-cwwm-wqv5","MINI-hfjr-vfxw-6c9x","MINI-hp77-4jcj-34mc","MINI-jm9v-587r-vrf9","MINI-jrhc-fmq7-8rhm","MINI-p58w-mc48-qv42","MINI-pfq4-6m5g-mmmh","MINI-pp53-62r2-5fh6","MINI-rjvj-wv6f-mg23","MINI-rxcv-q7q6-wvpf","MINI-v9f9-q6pf-25m4","MINI-vf2f-jc3v-8gm2","MINI-wj2g-hx24-p392","MINI-xp55-47mr-fpvq","MINI-xprr-h4p4-6rv7","MINI-xr23-w267-28hx","MINI-xxv8-fmg7-r8x6","PYSEC-2026-179","RHSA-2026:25902","RHSA-2026:26206","RHSA-2026:35835","RHSA-2026:35836","RHSA-2026:35837","RHSA-2026:35845","RLSA-2026:25902","RLSA-2026:26206","ROOT-APP-PYPI-CVE-2026-48526","UBUNTU-CVE-2026-48526"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Python JWT library","requires_auth":"none","summary":"Attackers can forge HS256 tokens using public keys if mixed algorithm families are allowed, bypassing authentication in PyJWT applications.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyjwt","vendor":"pyjwt_project"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"PyJWT 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.","ecosystems":["AlmaLinux:10","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::highavailability","Red Hat:rhel_e4s:9.2::resilientstorage","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::highavailability","Red Hat:rhel_e4s:9.4::resilientstorage","Red Hat:rhel_eus:9.6::appstream","Rocky Linux:10","Rocky Linux:9"],"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: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed","id":"CVE-2026-48526","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":660,"n_references":1,"next":{"headline":"HaxCMS has a stored Cross-Site Scripting (XSS) bypass in saveNode endpoint","id":"CVE-2026-48527"},"packages":[{"ecosystem":"PyPI","fixed":["2.13.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":null,"source":"GHSA-xgmm-8j9v-c9wx"},{"ecosystem":"PyPI","fixed":["2.13.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":"pkg:pypi/pyjwt","source":"GHSA-xgmm-8j9v-c9wx"},{"ecosystem":"PyPI","fixed":["2.13.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":"pkg:pypi/pyjwt","source":"PYSEC-2026-179"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aliyun","purl":"pkg:rpm/almalinux/fence-agents-aliyun","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-all","purl":"pkg:rpm/almalinux/fence-agents-all","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-amt-ws","purl":"pkg:rpm/almalinux/fence-agents-amt-ws","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc","purl":"pkg:rpm/almalinux/fence-agents-apc","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc-snmp","purl":"pkg:rpm/almalinux/fence-agents-apc-snmp","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aws","purl":"pkg:rpm/almalinux/fence-agents-aws","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-azure-arm","purl":"pkg:rpm/almalinux/fence-agents-azure-arm","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-bladecenter","purl":"pkg:rpm/almalinux/fence-agents-bladecenter","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-brocade","purl":"pkg:rpm/almalinux/fence-agents-brocade","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-mds","purl":"pkg:rpm/almalinux/fence-agents-cisco-mds","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-ucs","purl":"pkg:rpm/almalinux/fence-agents-cisco-ucs","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-common","purl":"pkg:rpm/almalinux/fence-agents-common","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-drac5","purl":"pkg:rpm/almalinux/fence-agents-drac5","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eaton-snmp","purl":"pkg:rpm/almalinux/fence-agents-eaton-snmp","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-emerson","purl":"pkg:rpm/almalinux/fence-agents-emerson","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eps","purl":"pkg:rpm/almalinux/fence-agents-eps","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-gce","purl":"pkg:rpm/almalinux/fence-agents-gce","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-heuristics-ping","purl":"pkg:rpm/almalinux/fence-agents-heuristics-ping","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-hpblade","purl":"pkg:rpm/almalinux/fence-agents-hpblade","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-powervs","purl":"pkg:rpm/almalinux/fence-agents-ibm-powervs","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-vpc","purl":"pkg:rpm/almalinux/fence-agents-ibm-vpc","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibmblade","purl":"pkg:rpm/almalinux/fence-agents-ibmblade","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ifmib","purl":"pkg:rpm/almalinux/fence-agents-ifmib","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-moonshot","purl":"pkg:rpm/almalinux/fence-agents-ilo-moonshot","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-mp","purl":"pkg:rpm/almalinux/fence-agents-ilo-mp","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-ssh","purl":"pkg:rpm/almalinux/fence-agents-ilo-ssh","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo2","purl":"pkg:rpm/almalinux/fence-agents-ilo2","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-intelmodular","purl":"pkg:rpm/almalinux/fence-agents-intelmodular","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipdu","purl":"pkg:rpm/almalinux/fence-agents-ipdu","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipmilan","purl":"pkg:rpm/almalinux/fence-agents-ipmilan","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kdump","purl":"pkg:rpm/almalinux/fence-agents-kdump","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kubevirt","purl":"pkg:rpm/almalinux/fence-agents-kubevirt","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-lpar","purl":"pkg:rpm/almalinux/fence-agents-lpar","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-mpath","purl":"pkg:rpm/almalinux/fence-agents-mpath","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-nutanix-ahv","purl":"pkg:rpm/almalinux/fence-agents-nutanix-ahv","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-openstack","purl":"pkg:rpm/almalinux/fence-agents-openstack","source":"ALSA-2026:25902"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"fence-agents-redfish","purl":"pkg:rpm/almalinux/fence-agents-redfish","source":"ALSA-2026:25902"}],"prev":{"headline":"PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS","id":"CVE-2026-48525"},"products":["pyjwt"],"published":"2026-05-28","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.5,"headline":"PyJWT accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)","id":"CVE-2026-32597","kev_date_added":null,"published":"2026-03-12"},{"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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["jpadilla"]},"summary":"Attackers can forge HS256 tokens using public keys if mixed algorithm families are allowed, bypassing authentication in PyJWT applications.","url":"https://insights.sbomify.com/CVE-2026-48526/"}