openEuler Security Advisory
OESA-2026-2276
python-python-multipart security update
Details
A streaming multipart parser for Python
Security Fix(es):
Python-Multipart is a streaming multipart parser for Python. Prior to version 0.0.22, a Path Traversal vulnerability exists when using non-default configuration options UPLOAD_DIR and UPLOAD_KEEP_FILENAME=True. An attacker can write uploaded files to arbitrary locations on the filesystem by crafting a malicious filename. Users should upgrade to version 0.0.22 to receive a patch or, as a workaround, avoid using UPLOAD_KEEP_FILENAME=True in project configurations.(CVE-2026-24486)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:24.03-LTS-SP3 | python-python-multipart | All versions before 0.0.22-1.oe2403sp3 (fixed in 0.0.22-1.oe2403sp3) |