Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix: bump pypdf to 6.16.2 for GHSA-jp53-mhqp-8xcg (#7200)
Vidit Ostwal1cef70de5209
diff --git a/lib/crewai-files/pyproject.toml b/lib/crewai-files/pyproject.tomlindex c19a5159f..a14eeecf9 100644--- a/lib/crewai-files/pyproject.toml+++ b/lib/crewai-files/pyproject.toml@@ -9,7 +9,7 @@ authors = [requires-python = ">=3.10, <3.14"dependencies = ["Pillow~=12.3.0",- "pypdf~=6.14.2",+ "pypdf~=6.16.1","python-magic>=0.4.27","aiocache~=0.12.3","aiofiles~=24.1.0",@@ -19,8 +19,6 @@ dependencies = [[tool.uv]exclude-newer = "3 days"-# pypdf 6.14.2 is a security fix newer than the global supply-chain cutoff.-exclude-newer-package = { pypdf = "2026-06-24T00:00:00Z" }[build-system]requires = ["hatchling"]diff --git a/pyproject.toml b/pyproject.tomlindex 8cfb1b389..d3e8a4f6a 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -172,7 +172,7 @@ info = "Commits must follow Conventional Commits 1.0.0."[tool.uv]exclude-newer = "3 days"# These security fixes are newer than the global supply-chain cutoff.-exclude-newer-package = { pypdf = "2026-08-07T00:00:00Z", msgpack = "2026-06-20T00:00:00Z", pydantic-settings = "2026-06-20T00:00:00Z", langsmith = "2026-06-20T00:00:00Z", gitpython = "2026-08-05T00:00:00Z" }+exclude-newer-package = { msgpack = "2026-06-20T00:00:00Z", pydantic-settings = "2026-06-20T00:00:00Z", langsmith = "2026-06-20T00:00:00Z", gitpython = "2026-08-05T00:00:00Z" }# composio-core pins rich<14 but textual requires rich>=14.# onnxruntime 1.24+ dropped Python 3.10 wheels; cap it so qdrant[fastembed] resolves on 3.10.@@ -187,8 +187,11 @@ exclude-newer-package = { pypdf = "2026-08-07T00:00:00Z", msgpack = "2026-06-20T# pypdf <6.10.2 has GHSA-4pxv-j86v-mhcw, GHSA-7gw9-cf7v-778f, GHSA-x284-j5p8-9c5p.# pypdf <6.14.2 has GHSA-jm82-fx9c-mx94 and GHSA-5qjq-93h5-hrgp/GHSA-55h5-xmcq-c37v/GHSA-g867-7843-wf8q/GHSA-5xf7-4p34-54qr; force 6.14.2+.# pypdf <6.15.0 has GHSA-fwg2-594c-jp42 and GHSA-fp3f-mc75-235c (unbounded runtime/memory on large content-# and /ToUnicode streams); force 6.15.0+. Its exclude-newer-package cutoff is bumped to 2026-08-07 to admit-# that release.+# and /ToUnicode streams); force 6.15.0+.+# pypdf <6.16.0 has GHSA-jp53-mhqp-8xcg (infinite loop in TreeObject.insert_child).+# pypdf <6.16.1 has GHSA-23w6-3w8w-8484 and GHSA-763m-79hh-57f2 (unbounded runtime/memory on+# outlines and XForm extraction); force 6.16.1+. 6.16.2 is older than the global 3-day cutoff,+# so no exclude-newer-package override is needed.# uv <0.11.15 has GHSA-4gg8-gxpx-9rph (and earlier GHSA-pjjw-68hj-v9mw); force 0.11.15+.# python-multipart <0.0.27 has GHSA-pp6c-gr5w-3c5g (DoS via unbounded multipart headers).# gitpython <3.1.50 has GHSA-mv93-w799-cj2w (config_writer newline injection bypassing the 3.1.49 patch -> RCE via core.hooksPath).@@ -247,7 +250,7 @@ override-dependencies = ["urllib3>=2.7.0","transformers>=5.4.0; python_version >= '3.10'","cryptography>=50.0.0",- "pypdf>=6.15.0,<7",+ "pypdf>=6.16.1,<7","uv>=0.11.15,<1","python-multipart>=0.0.27,<1","gitpython>=3.1.58,<4",diff --git a/uv.lock b/uv.lockindex 6d7353635..f5897d5ce 100644--- a/uv.lock+++ b/uv.lock@@ -20,7 +20,6 @@ exclude-newer-span = "P3D"msgpack = "2026-06-20T00:00:00Z"langsmith = "2026-06-20T00:00:00Z"gitpython = "2026-08-05T00:00:00Z"-pypdf = "2026-08-07T00:00:00Z"pydantic-settings = "2026-06-20T00:00:00Z"[manifest]@@ -51,7 +50,7 @@ overrides = [{ name = "pip", specifier = ">=26.2" },{ name = "pyasn1", specifier = ">=0.6.4" },{ name = "pydantic-settings", specifier = ">=2.14.2" },- { name = "pypdf", specifier = ">=6.15.0,<7" },+ { name = "pypdf", specifier = ">=6.16.1,<7" },{ name = "python-multipart", specifier = ">=0.0.27,<1" },{ name = "rich", specifier = ">=13.7.1" },{ name = "setuptools", specifier = ">=83.0.0" },@@ -1602,7 +1601,7 @@ requires-dist = [{ name = "aiofiles", specifier = "~=24.1.0" },{ name = "av", specifier = "~=13.0.0" },{ name = "pillow", specifier = "~=12.3.0" },- { name = "pypdf", specifier = "~=6.14.2" },+ { name = "pypdf", specifier = "~=6.16.1" },{ name = "python-magic", specifier = ">=0.4.27" },{ name = "tinytag", specifier = "~=2.2.1" },]@@ -7198,14 +7197,14 @@ wheels = [[[package]]name = "pypdf"-version = "6.15.0"+version = "6.16.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "typing-extensions", marker = "python_full_version < '3.11'" },]-sdist = { url = "https://files.pythonhosted.org/packages/17/17/ee75a92718ec7212de831e71454d702225aa5e474a805cce169806044453/pypdf-6.15.0.tar.gz", hash = "sha256:d39c4d955a76409284a905e2d65b40076d77ab76129e0faaeeb6612403ecfc79", size = 6993794, upload-time = "2026-08-06T13:06:49.929Z" }+sdist = { url = "https://files.pythonhosted.org/packages/44/66/54212e75406afd9f3e933d0dda23072f6aecc55c5a273077dc2e0b028b23/pypdf-6.16.2.tar.gz", hash = "sha256:595647f6191de6f402cfde1d0c455d6cbccbd509aac32b34783009c032de5d6e", size = 7008996, upload-time = "2026-08-23T13:50:07.135Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/af/72/ce3067ac31e214a66388159f8462ddb8c13dd00170f24d555a1f1ae8ee91/pypdf-6.15.0-py3-none-any.whl", hash = "sha256:14e001d6504822cb1ca9c7ed9a69bccb320f59b320730f55af804361abe4d5ee", size = 378123, upload-time = "2026-08-06T13:06:47.709Z" },+ { url = "https://files.pythonhosted.org/packages/13/f1/a2da3b55acd4ab737bf728c97edaaed5ec1d3c1236acb639dcdfa97e42c7/pypdf-6.16.2-py3-none-any.whl", hash = "sha256:c8b09a59399062fb45a1b8156c18a787a10a3dae03ac9674397a226712c94604", size = 385060, upload-time = "2026-08-23T13:50:05.349Z" },][[package]]