Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix CVE-2026-24486: Update python-multipart to 0.0.22 (#13015)

aivong-openhands2fc689457cf4
diff --git a/enterprise/poetry.lock b/enterprise/poetry.lock
index a2c655a4a1..2f60cbca0c 100644
--- a/enterprise/poetry.lock
+++ b/enterprise/poetry.lock
@@ -11886,14 +11886,14 @@ requests-toolbelt = ">=0.6.0"
[[package]]
name = "python-multipart"
-version = "0.0.21"
+version = "0.0.22"
description = "A streaming multipart parser for Python"
optional = false
python-versions = ">=3.10"
groups = ["main"]
files = [
- {file = "python_multipart-0.0.21-py3-none-any.whl", hash = "sha256:cf7a6713e01c87aa35387f4774e812c4361150938d20d232800f75ffcf266090"},
- {file = "python_multipart-0.0.21.tar.gz", hash = "sha256:7137ebd4d3bbf70ea1622998f902b97a29434a9e8dc40eb203bbcf7c2a2cba92"},
+ {file = "python_multipart-0.0.22-py3-none-any.whl", hash = "sha256:2b2cd894c83d21bf49d702499531c7bafd057d730c201782048f7945d82de155"},
+ {file = "python_multipart-0.0.22.tar.gz", hash = "sha256:7340bef99a7e0032613f56dc36027b959fd3b30a787ed62d310e951f7c3a3a58"},
]
[[package]]
diff --git a/poetry.lock b/poetry.lock
index 03a4514d25..f32e0b3e66 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -11754,14 +11754,14 @@ dev = ["backports.zoneinfo ; python_version < \"3.9\"", "black", "build", "freez
[[package]]
name = "python-multipart"
-version = "0.0.21"
+version = "0.0.22"
description = "A streaming multipart parser for Python"
optional = false
python-versions = ">=3.10"
groups = ["main"]
files = [
- {file = "python_multipart-0.0.21-py3-none-any.whl", hash = "sha256:cf7a6713e01c87aa35387f4774e812c4361150938d20d232800f75ffcf266090"},
- {file = "python_multipart-0.0.21.tar.gz", hash = "sha256:7137ebd4d3bbf70ea1622998f902b97a29434a9e8dc40eb203bbcf7c2a2cba92"},
+ {file = "python_multipart-0.0.22-py3-none-any.whl", hash = "sha256:2b2cd894c83d21bf49d702499531c7bafd057d730c201782048f7945d82de155"},
+ {file = "python_multipart-0.0.22.tar.gz", hash = "sha256:7340bef99a7e0032613f56dc36027b959fd3b30a787ed62d310e951f7c3a3a58"},
]
[[package]]
@@ -14724,4 +14724,4 @@ third-party-runtimes = ["daytona", "e2b-code-interpreter", "modal", "runloop-api
[metadata]
lock-version = "2.1"
python-versions = "^3.12,<3.14"
-content-hash = "be9c30f9eed031f0ca445fcdd24a550c00803883978c8e221f4a36ef0da5cbcd"
+content-hash = "ec15491b3854b413881c0ecda9d9e1cb862df2829fa345e77f051dfe2ff7930e"
diff --git a/pyproject.toml b/pyproject.toml
index 6d138eb4ef..4e647a48d9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -78,7 +78,7 @@ dependencies = [
"python-frontmatter>=1.1",
"python-jose[cryptography]>=3.3",
"python-json-logger>=3.2.1",
- "python-multipart",
+ "python-multipart>=0.0.22",
"python-pptx",
"python-socketio==5.14",
"pythonnet",
@@ -181,7 +181,7 @@ html2text = "*"
deprecated = "*"
pexpect = "*"
jinja2 = "^3.1.6"
-python-multipart = "*"
+python-multipart = ">=0.0.22"
tenacity = ">=8.5,<10.0"
zope-interface = "7.2"
pathspec = "^0.12.1"
diff --git a/uv.lock b/uv.lock
index f9932eaccb..574697706b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3809,7 +3809,7 @@ requires-dist = [
{ name = "python-frontmatter", specifier = ">=1.1" },
{ name = "python-jose", extras = ["cryptography"], specifier = ">=3.3" },
{ name = "python-json-logger", specifier = ">=3.2.1" },
- { name = "python-multipart" },
+ { name = "python-multipart", specifier = ">=0.0.22" },
{ name = "python-pptx" },
{ name = "python-socketio", specifier = "==5.14" },
{ name = "pythonnet" },
@@ -7547,11 +7547,11 @@ wheels = [
[[package]]
name = "python-multipart"
-version = "0.0.21"
+version = "0.0.22"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/78/96/804520d0850c7db98e5ccb70282e29208723f0964e88ffd9d0da2f52ea09/python_multipart-0.0.21.tar.gz", hash = "sha256:7137ebd4d3bbf70ea1622998f902b97a29434a9e8dc40eb203bbcf7c2a2cba92", size = 37196, upload-time = "2025-12-17T09:24:22.446Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/01/979e98d542a70714b0cb2b6728ed0b7c46792b695e3eaec3e20711271ca3/python_multipart-0.0.22.tar.gz", hash = "sha256:7340bef99a7e0032613f56dc36027b959fd3b30a787ed62d310e951f7c3a3a58", size = 37612, upload-time = "2026-01-25T10:15:56.219Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/aa/76/03af049af4dcee5d27442f71b6924f01f3efb5d2bd34f23fcd563f2cc5f5/python_multipart-0.0.21-py3-none-any.whl", hash = "sha256:cf7a6713e01c87aa35387f4774e812c4361150938d20d232800f75ffcf266090", size = 24541, upload-time = "2025-12-17T09:24:21.153Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/d0/397f9626e711ff749a95d96b7af99b9c566a9bb5129b8e4c10fc4d100304/python_multipart-0.0.22-py3-none-any.whl", hash = "sha256:2b2cd894c83d21bf49d702499531c7bafd057d730c201782048f7945d82de155", size = 24579, upload-time = "2026-01-25T10:15:54.811Z" },
]
[[package]]