Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix(deps): bump pypdf to 6.19.0 to clear pip-audit findings (#7851)
Vidit Ostwal19713955ddf8
diff --git a/lib/crewai-files/pyproject.toml b/lib/crewai-files/pyproject.tomlindex a14eeecf9..31c50951d 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.16.1",+ "pypdf~=6.19.0","python-magic>=0.4.27","aiocache~=0.12.3","aiofiles~=24.1.0",diff --git a/pyproject.toml b/pyproject.tomlindex e1dbe5dcb..865686943 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -190,8 +190,15 @@ exclude-newer-package = { msgpack = "2026-06-20T00:00:00Z", pydantic-settings =# 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.+# outlines and XForm extraction).+# pypdf <6.17.0 has GHSA-qv6h-rv94-w285 (large memory on Roman page labels).+# pypdf <6.18.0 has GHSA-5jq2-8x83-x246 (long runtimes/memory parsing indirect objects).+# pypdf <6.18.1 has GHSA-fp3h-c4fm-7vvf (ToUnicode follow-up), GHSA-g9cg-prrw-2r8q (font data+# memory), and GHSA-jw7q-gvrg-4vj3 (malformed FlateDecode follow-up).+# pypdf <6.19.0 has GHSA-w23x-9jrw-r45c (alphabetical page labels), GHSA-php9-fj8v-98fj+# (appearance streams), and GHSA-v247-6f48-mgcj (embedded files); force 6.19.0+.+# 6.19.0 (2026-09-16) 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).@@ -281,7 +288,7 @@ override-dependencies = ["virtualenv>=21.7.13","transformers>=5.4.0; python_version >= '3.10'","cryptography>=50.0.0",- "pypdf>=6.16.1,<7",+ "pypdf>=6.19.0,<7","uv>=0.11.15,<1","python-multipart>=0.0.27,<1","gitpython>=3.1.59,<4",diff --git a/uv.lock b/uv.lockindex db1b18256..82ca62228 100644--- a/uv.lock+++ b/uv.lock@@ -21,8 +21,8 @@ exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included forexclude-newer-span = "P3D"[options.exclude-newer-package]-langsmith = "2026-06-20T00:00:00Z"msgpack = "2026-06-20T00:00:00Z"+langsmith = "2026-06-20T00:00:00Z"pydantic-settings = "2026-06-20T00:00:00Z"[manifest]@@ -54,7 +54,7 @@ overrides = [{ name = "pip", specifier = ">=26.2" },{ name = "pyasn1", specifier = ">=0.6.4" },{ name = "pydantic-settings", specifier = ">=2.14.2" },- { name = "pypdf", specifier = ">=6.16.1,<7" },+ { name = "pypdf", specifier = ">=6.19.0,<7" },{ name = "python-multipart", specifier = ">=0.0.27,<1" },{ name = "rich", specifier = ">=13.7.1" },{ name = "setuptools", specifier = ">=83.0.0" },@@ -1705,7 +1705,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.16.1" },+ { name = "pypdf", specifier = "~=6.19.0" },{ name = "python-magic", specifier = ">=0.4.27" },{ name = "tinytag", specifier = "~=2.2.1" },]@@ -7520,14 +7520,14 @@ wheels = [[[package]]name = "pypdf"-version = "6.16.2"+version = "6.19.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "typing-extensions", marker = "python_full_version < '3.11'" },]-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" }+sdist = { url = "https://files.pythonhosted.org/packages/1f/ac/63d71aaedb59acbcdef491e6ca6469165e3771c9c74358204818fd9bc5a6/pypdf-6.19.0.tar.gz", hash = "sha256:bbc43aca292369ccc6cbc8a921991ecf2538a3587ab5a116eff06c321d647155", size = 7033266, upload-time = "2026-09-16T09:32:05.946Z" }wheels = [- { 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" },+ { url = "https://files.pythonhosted.org/packages/3c/2c/c43c03eaf630435f023f1dc61ec4a4a78951ad5530a62c71cc89bde307b7/pypdf-6.19.0-py3-none-any.whl", hash = "sha256:7e5d6e730e7dae87d560a2cee218b852f6498c8be61966f3cd02ead971e48d14", size = 395480, upload-time = "2026-09-16T09:32:04.087Z" },][[package]]