{"answers":{"affected":"3 open source packages ship an affected version, including python-multipart.","exploited":"There is no known exploitation of CVE-2026-42561 in the wild and no public exploit code.","fix":"Upgrade python-multipart to 0.0.27 or later.","what":"CVE-2026-42561 is a high-severity denial of service vulnerability in Kludex python-multipart, published on 13 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-42561 and fix it if it is affected.\n\nWhat it is: CVE-2026-42561 is a high-severity denial of service vulnerability in Kludex python-multipart, published on 13 May 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-42561 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- python-multipart (PyPI): affected all versions; fixed in 0.0.27\n- python-multipart (PyPI): affected all versions; fixed in 0.0.27\n- python-multipart (PyPI): affected all versions; fixed in 0.0.27\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-42561/ (Markdown: https://insights.sbomify.com/CVE-2026-42561/index.md)","id":"CVE-2026-42561","markdown":"https://insights.sbomify.com/CVE-2026-42561/index.md","name":"CVE-2026-42561","record":{"aliases":["CLEANSTART-2026-SC26416","CLSA-2026-1783904617","DEBIAN-CVE-2026-42561","ECHO-6701-0c72-de60","GHSA-pp6c-gr5w-3c5g","MINI-4hf2-jvm5-g9mq","MINI-8vqp-hpc7-wcv8","MINI-cvrr-36pw-82cm","MINI-jg6x-g7p5-39h6","MINI-m2fw-g9gx-cvfv","MINI-p2m2-rcq4-4v8q","MINI-rjm8-5qv7-7m96","MINI-wc7r-vx28-w35p","PYSEC-2026-3039","ROOT-APP-PYPI-CVE-2026-42561","UBUNTU-CVE-2026-42561","openSUSE-SU-2026:10797-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python multipart parser","requires_auth":"none","summary":"An attacker can cause denial of service in applications using Python-Multipart by sending requests with excessive or oversized multipart headers.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"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:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-606","name":"Unchecked Input for Loop Condition"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"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":"Python-Multipart: Denial of Service via unbounded multipart part headers","id":"CVE-2026-42561","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Plainpad: Privilege Escalation via Writable Admin Field in Profile Update (Access Control)","id":"CVE-2026-42562"},"packages":[{"ecosystem":"PyPI","fixed":["0.0.27"],"introduced":["0"],"last_affected":[],"package":"python-multipart","purl":null,"source":"GHSA-pp6c-gr5w-3c5g"},{"ecosystem":"PyPI","fixed":["0.0.27"],"introduced":["0"],"last_affected":[],"package":"python-multipart","purl":"pkg:pypi/python-multipart","source":"GHSA-pp6c-gr5w-3c5g"},{"ecosystem":"PyPI","fixed":["0.0.27"],"introduced":["0"],"last_affected":[],"package":"python-multipart","purl":"pkg:pypi/python-multipart","source":"PYSEC-2026-3039"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.0.28-1.1"],"introduced":["0"],"last_affected":[],"package":"python-python-multipart","purl":"pkg:rpm/opensuse/python-python-multipart\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10797-1"}],"prev":{"headline":"auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation","id":"CVE-2026-42560"},"products":["python-multipart"],"published":"2026-05-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":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["Kludex"]},"summary":"An attacker can cause denial of service in applications using Python-Multipart by sending requests with excessive or oversized multipart headers.","url":"https://insights.sbomify.com/CVE-2026-42561/"}