{"answers":{"affected":"3 open source packages ship an affected version, including pyjwt and PyJWT. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-102267 in the wild and no public exploit code.","fix":"Upgrade pyjwt to 2.14.0 or later.","what":"CVE-2026-102267 is a high-severity server-side request forgery vulnerability in jpadilla pyjwt, published on 28 Sep 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-102267 and fix it if it is affected.\n\nWhat it is: CVE-2026-102267 is a high-severity server-side request forgery vulnerability in jpadilla pyjwt, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-102267 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyjwt (PyPI): affected all versions; fixed in 2.14.0\n- pyjwt (PyPI): affected all versions; fixed in 2.14.0\n- PyJWT (PyPI): affected all versions; fixed in 2.14.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-102267/ (Markdown: https://insights.sbomify.com/CVE-2026-102267/index.md)","id":"CVE-2026-102267","markdown":"https://insights.sbomify.com/CVE-2026-102267/index.md","name":"CVE-2026-102267","record":{"aliases":["AZL-104979","CLEANSTART-2026-GM98203","CLEANSTART-2026-IE39566","DEBIAN-CVE-2026-102267","ECHO-669e-7f60-f638","GHSA-9v7f-9g4p-ffgj","MINI-2pc6-24cw-qgqq","MINI-323w-5cm2-2v22","MINI-4237-qf2f-x5f9","MINI-46v7-v622-9739","MINI-53q9-p75r-hvjp","MINI-6wg4-93h5-qqv4","MINI-7867-g78r-m63q","MINI-7gvv-6vjx-9m8w","MINI-7r27-r3q6-4ww9","MINI-85hp-v396-23hm","MINI-9586-59gj-vpqv","MINI-g539-9jv4-57wv","MINI-gg26-c48c-vxv5","MINI-gqq9-33w5-6rm5","MINI-hqw9-vh3q-hjj2","MINI-m272-9j9j-3mwp","MINI-mm3x-gm2x-74m9","MINI-q9wm-6h29-c3v9","MINI-qwcx-3fv4-wj7m","MINI-r4v8-6c3w-37fj","MINI-r6g4-32vj-gqg8","MINI-vxh4-j6ch-jv4c","MINI-wq4g-qppg-cm6v","MINI-wx9w-jrp3-c4cg","MINI-xwf6-m7f3-g92w","PYSEC-2026-4144","ROOT-APP-PYPI-CVE-2026-102267","UBUNTU-CVE-2026-102267"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Python JWT library","requires_auth":"none","summary":"Attackers can exploit redirect handling in PyJWKClient to disclose credentials or substitute verification keys when trusted endpoints return malicious redirects.","user_interaction":"not_required","vuln_class":"ssrf"},"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-918","name":"Server-Side Request Forgery"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. This occurs when a configured trusted JWKS endpoint returns an attacker-influenced redirect. As a result, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted. This issue is fixed in version 2.14.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PyJWT: PyJWKClient follows redirects when fetching JWKS","id":"CVE-2026-102267","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard","id":"CVE-2026-102268"},"packages":[{"ecosystem":"PyPI","fixed":["2.14.0"],"introduced":["0"],"last_affected":[],"package":"PyJWT","purl":null,"source":"GHSA-9v7f-9g4p-ffgj"},{"ecosystem":"PyPI","fixed":["2.14.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":"pkg:pypi/pyjwt","source":"GHSA-9v7f-9g4p-ffgj"},{"ecosystem":"PyPI","fixed":["2.14.0"],"introduced":["0"],"last_affected":[],"package":"pyjwt","purl":"pkg:pypi/pyjwt","source":"PYSEC-2026-4144"}],"prev":{"headline":"PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation","id":"CVE-2026-102266"},"products":["pyjwt"],"published":"2026-09-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: 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":"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["jpadilla"]},"summary":"Attackers can exploit redirect handling in PyJWKClient to disclose credentials or substitute verification keys when trusted endpoints return malicious redirects.","url":"https://insights.sbomify.com/CVE-2026-102267/"}