Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix CVE-2026-41312: Update pypdf to 6.10.2 (#14355)

aivong-openhandse5047a82db0f
diff --git a/poetry.lock b/poetry.lock
index a46e59a801..0b883ac8c5 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -11376,14 +11376,14 @@ diagrams = ["jinja2", "railroad-diagrams"]
[[package]]
name = "pypdf"
-version = "6.9.2"
+version = "6.10.2"
description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files"
optional = false
python-versions = ">=3.9"
groups = ["main"]
files = [
- {file = "pypdf-6.9.2-py3-none-any.whl", hash = "sha256:662cf29bcb419a36a1365232449624ab40b7c2d0cfc28e54f42eeecd1fd7e844"},
- {file = "pypdf-6.9.2.tar.gz", hash = "sha256:7f850faf2b0d4ab936582c05da32c52214c2b089d61a316627b5bfb5b0dab46c"},
+ {file = "pypdf-6.10.2-py3-none-any.whl", hash = "sha256:aa53be9826655b51c96741e5d7983ca224d898ac0a77896e64636810517624aa"},
+ {file = "pypdf-6.10.2.tar.gz", hash = "sha256:7d09ce108eff6bf67465d461b6ef352dcb8d84f7a91befc02f904455c6eea11d"},
]
[package.extras]
@@ -14555,4 +14555,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 = "4d8b8eb2c4338968973606b28811f3330bd70062b66059ee1e9f6e9b494a1f8d"
+content-hash = "0d05caa1780f2cfff55c820827b41272ce90e0704024a0b79403ee89efe82f4d"
diff --git a/pyproject.toml b/pyproject.toml
index 8aea30552e..17eca86677 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -77,7 +77,7 @@ dependencies = [
"pygithub>=2.5",
"pyjwt>=2.12",
"pylatexenc",
- "pypdf>=6.9.2",
+ "pypdf>=6.10.2",
"python-docx",
"python-dotenv",
"python-frontmatter>=1.1",
@@ -219,7 +219,7 @@ python-docx = "*"
bashlex = "^0.18"
# Explicitly pinned packages for latest versions
-pypdf = "^6.9.2"
+pypdf = "^6.10.2"
pillow = "^12.1.1"
starlette = ">=0.49.1,<1.1.0"
urllib3 = "^2.6.3"
diff --git a/uv.lock b/uv.lock
index e9b58c355c..e4a72e35f0 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3717,7 +3717,7 @@ requires-dist = [
{ name = "pygithub", specifier = ">=2.5" },
{ name = "pyjwt", specifier = ">=2.12" },
{ name = "pylatexenc" },
- { name = "pypdf", specifier = ">=6.9.2" },
+ { name = "pypdf", specifier = ">=6.10.2" },
{ name = "python-docx" },
{ name = "python-dotenv" },
{ name = "python-frontmatter", specifier = ">=1.1" },