CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3) in fastapiexpert python-multipart. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in python-multipart 0.0.26.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lpython-multipart (PyPI): fixed in 0.0.26Explain CVE-2026-40347 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40347?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40347?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40347 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| fastapiexpert:python-multipart | before 0.0.26 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mj87-hwqh-73pj | PyPI | python-multipart | <0.0.26 | 0.0.26 |
| PYSEC-2026-3038 | PyPI | python-multipart | <0.0.26 | 0.0.26 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | python-multipart | no fix listed | DEBIAN-CVE-2026-40347 |
| Debian | 14 | python-multipart | 0.0.26-1 | DEBIAN-CVE-2026-40347 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 and 2 more | python-multipart | no fix listed | UBUNTU-CVE-2026-40347 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | python-python-multipart | 0.0.20-160000.4.1 | SUSE-SU-2026:21999-1 |
| openSUSE | Tumbleweed | python-python-multipart | 0.0.26-1.1 | openSUSE-SU-2026:10597-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
To mitigate this issue, restrict network access to services utilizing `python-multipart` to trusted clients only. Implement rate limiting and robust input validation at the application or network level to filter out malformed `multipart/form-data` requests before they reach the vulnerable component. This can help prevent the service from becoming unresponsive due to specially crafted requests.
| Product | Package | State | Advisory |
|---|---|---|---|
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Fix deferred | |
| Lightspeed Core | lightspeed-core/rag-tool-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-solution-server-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-cpu-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-cuda-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-neuron-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-rocm-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-spyre-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-tpu-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-chatbot-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/mcp-tools-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-aws-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-rocm-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gcp-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Fix deferred | |
| 19 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40347.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.