CVE-2026-24486
HIGH8.6EPSS 1.0%Python-Multipart has Arbitrary File Write via Non-Default Configuration
發布日:2026/1/26修改日:2026/4/28
描述
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.
受影響套件(2)
- Debian/python-multipartfrom 0
- PyPI/python-multipartfrom 0, < 0.0.22
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-24486
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-24486
- PATCHhttps://github.com/Kludex/python-multipart
- WEBhttps://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4
- WEBhttps://github.com/Kludex/python-multipart/releases/tag/0.0.22
- WEBhttps://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg