Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix CVE-2026-44431: Update urllib3 to 2.7.0 (#14481)

aivong-openhandse8e1eebd225a
diff --git a/enterprise/poetry.lock b/enterprise/poetry.lock
index 49c6e4c1fb..d524e2a308 100644
--- a/enterprise/poetry.lock
+++ b/enterprise/poetry.lock
@@ -6540,7 +6540,7 @@ termcolor = "*"
toml = "*"
tornado = ">=6.5"
types-toml = "*"
-urllib3 = ">=2.6.3"
+urllib3 = ">=2.7.0"
uvicorn = "*"
whatthepatch = ">=1.0.6"
zope-interface = "7.2"
@@ -14325,14 +14325,14 @@ files = [
[[package]]
name = "urllib3"
-version = "2.6.3"
+version = "2.7.0"
description = "HTTP library with thread-safe connection pooling, file post, and more."
optional = false
-python-versions = ">=3.9"
+python-versions = ">=3.10"
groups = ["main", "dev"]
files = [
- {file = "urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"},
- {file = "urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed"},
+ {file = "urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897"},
+ {file = "urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c"},
]
[package.extras]
diff --git a/poetry.lock b/poetry.lock
index 254e04249e..fe901b934a 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -13637,14 +13637,14 @@ files = [
[[package]]
name = "urllib3"
-version = "2.6.3"
+version = "2.7.0"
description = "HTTP library with thread-safe connection pooling, file post, and more."
optional = false
-python-versions = ">=3.9"
+python-versions = ">=3.10"
groups = ["main", "runtime", "test"]
files = [
- {file = "urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"},
- {file = "urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed"},
+ {file = "urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897"},
+ {file = "urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c"},
]
[package.extras]
@@ -14539,4 +14539,4 @@ cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and pyt
[metadata]
lock-version = "2.1"
python-versions = "^3.12,<3.14"
-content-hash = "7c56c3771efae85e6f3951ba4df0efb73a7f6d623fb3f78191e529ab02432fa9"
+content-hash = "19c5183f11f4f7bab38eaefd92d638fd70ef7e5025d921806ca5347c0fd2ea8c"
diff --git a/pyproject.toml b/pyproject.toml
index 98c3b209b9..a6c331af47 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -101,7 +101,7 @@ dependencies = [
"toml",
"tornado>=6.5",
"types-toml",
- "urllib3>=2.6.3",
+ "urllib3>=2.7.0",
"uvicorn",
"whatthepatch>=1.0.6",
"zope-interface==7.2",
@@ -222,7 +222,7 @@ bashlex = "^0.18"
pypdf = "^6.10.2"
pillow = "^12.1.1"
starlette = ">=0.49.1,<1.1.0"
-urllib3 = "^2.6.3"
+urllib3 = "^2.7.0"
requests = "^2.33.0"
setuptools = ">=78.1.1"
diff --git a/uv.lock b/uv.lock
index 1c0d404a8a..998bb1a945 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3728,7 +3728,7 @@ requires-dist = [
{ name = "toml" },
{ name = "tornado", specifier = ">=6.5" },
{ name = "types-toml" },
- { name = "urllib3", specifier = ">=2.6.3" },
+ { name = "urllib3", specifier = ">=2.7.0" },
{ name = "uvicorn" },
{ name = "whatthepatch", specifier = ">=1.0.6" },
{ name = "zope-interface", specifier = "==7.2" },
@@ -8589,11 +8589,11 @@ wheels = [
[[package]]
name = "urllib3"
-version = "2.6.3"
+version = "2.7.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556, upload-time = "2026-01-07T16:24:43.925Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584, upload-time = "2026-01-07T16:24:42.685Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
]
[[package]]