{"answers":{"affected":"3 open source packages ship an affected version, including oauthlib.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49264 exists.","fix":"Upgrade oauthlib to 4.0.0 or later.","what":"CVE-2026-49264 is a medium-severity cross-site scripting vulnerability in oauthlib, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-49264 and fix it if it is affected.\n\nWhat it is: CVE-2026-49264 is a medium-severity cross-site scripting vulnerability in oauthlib, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49264 exists.\n\nAffected packages and fixed versions:\n- oauthlib (PyPI): affected from 0.6.1; fixed in 4.0.0\n- oauthlib (PyPI): affected from 0.6.1; fixed in 4.0.0\n- oauthlib (PyPI): affected from 0.6.1; fixed in 4.0.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-49264/ (Markdown: https://insights.sbomify.com/CVE-2026-49264/index.md)","id":"CVE-2026-49264","markdown":"https://insights.sbomify.com/CVE-2026-49264/index.md","name":"CVE-2026-49264","record":{"aliases":["AZL-108042","CLEANSTART-2026-JM52525","CLEANSTART-2026-PM64719","CLEANSTART-2026-UF47691","DEBIAN-CVE-2026-49264","ECHO-5e10-b8eb-8481","GHSA-hj66-6f7g-4r5v","MINI-2428-56jm-6fjw","MINI-492f-w55m-3ppg","MINI-4jx9-4px7-cwvm","MINI-5cf2-785h-gqpr","MINI-5cp5-9wvv-3h32","MINI-762j-vgwv-8mhp","MINI-96g5-qch4-2v94","MINI-994p-45wc-58cv","MINI-f82g-jfqq-cj4p","MINI-gwpf-6wxx-mh3r","MINI-j73w-9gcq-697p","MINI-mhvx-3xxg-q8p5","MINI-mmx7-66pj-q94r","MINI-p3rx-9pmf-g9gr","MINI-pchv-j4mm-q4pp","MINI-q445-2mxq-hrf4","MINI-r935-mc37-rr99","MINI-rj7p-qwh9-m78j","MINI-rp8q-cr94-gc9c","MINI-rr26-9fv7-2f6x","MINI-vq45-7cxq-f6j5","MINI-wwpm-37v2-v5c2","MINI-xgvm-53cj-fvvv","MINI-xhr6-xqhh-pv7c","OESA-2026-4497","OESA-2026-4498","OESA-2026-4499","OESA-2026-4500","PYSEC-2026-4113","SUSE-SU-2026:4807-1","UBUNTU-CVE-2026-49264","openSUSE-SU-2026:11973-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Python OAuth library","requires_auth":"none","summary":"Attacker-controlled JavaScript execution via unsafe JSONP callback injection in OAuthLib's RevocationEndpoint when JSONP is enabled.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 0.6.1 until 4.0.0, OAuthLib's RevocationEndpoint in oauthlib/oauth2/rfc6749/endpoints/revocation.py reflects an unvalidated callback request parameter into success and error response bodies when enable_jsonp=True. The callback can come from the query string or request body and is used without restricting it to a legal JavaScript function name. A browser application that loads the revocation response as trusted JSONP and permits attacker influence over callback can therefore execute attacker-controlled JavaScript in the including application's origin, with access to its DOM and script-accessible data. The feature is disabled by default, so only deployments that explicitly enable JSONP are affected. This issue is fixed in version 4.0.0.","ecosystems":["PyPI","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","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":"OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","id":"CVE-2026-49264","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"OAuthLib: Timing Attack Vulnerability in PKCE code_verifier Comparison","id":"CVE-2026-49265"},"packages":[{"ecosystem":"PyPI","fixed":["4.0.0"],"introduced":["0.6.1"],"last_affected":[],"package":"oauthlib","purl":null,"source":"GHSA-hj66-6f7g-4r5v"},{"ecosystem":"PyPI","fixed":["4.0.0"],"introduced":["0.6.1"],"last_affected":[],"package":"oauthlib","purl":"pkg:pypi/oauthlib","source":"GHSA-hj66-6f7g-4r5v"},{"ecosystem":"PyPI","fixed":["4.0.0"],"introduced":["0.6.1"],"last_affected":[],"package":"oauthlib","purl":"pkg:pypi/oauthlib","source":"PYSEC-2026-4113"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.0.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-oauthlib","purl":"pkg:rpm/suse/python-oauthlib\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:4807-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["2.0.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-oauthlib","purl":"pkg:rpm/suse/python-oauthlib\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:4807-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.0.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-oauthlib","purl":"pkg:rpm/opensuse/python-oauthlib\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11973-1"}],"prev":{"headline":"Capstone WASM `br_table` instruction-size truncation can cause no-progress disassembly and parser desynchronization","id":"CVE-2026-49263"},"products":["oauthlib"],"published":"2026-10-13","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-16","vendors":["oauthlib"]},"summary":"Attacker-controlled JavaScript execution via unsafe JSONP callback injection in OAuthLib's RevocationEndpoint when JSONP is enabled.","url":"https://insights.sbomify.com/CVE-2026-49264/"}