From c40ec60342b20ec06a355fb9a85fc77745c5bb48 Mon Sep 17 00:00:00 2001 From: tomas Date: Thu, 19 Nov 2026 08:43:04 +0000 Subject: [PATCH 1/2] fix(deps): resolve pip-audit failures for dnspython, tornado and soupsieve - dnspython 2.9.2 fixes CVE-2026-128089 and tornado 6.6.1 fixes CVE-2026-126347. Both need Python 3.11, so the floors are raised on the >= 3.11 lines and 3.10 keeps dnspython 2.8.0 and tornado 6.5.10. - soupsieve 4.1.2 fixes CVE-2026-126189..126193 and four newer advisories published only in soupsieve's repo. soupsieve 3.0.2+ requires CPython 3.11.5 and fails every selector below it. The 3.11 kernel bundle is frozen on the builder's latest 3.11 but installed on any 3.11 patch release, so 4.1.2 is limited to Python >= 3.12. Python < 3.12 moves to 2.10, which fixes CVE-2026-126192, and the audit ignores the three CVEs 2.10 still carries. Only the dnspython, soupsieve and tornado blocks and the content-hash were spliced into the lock, since a Poetry 2.2.0 relock also drops about 1,200 unrelated older-Python lines. --- .github/workflows/ci.yml | 6 ++ poetry.lock | 116 ++++++++++++++++++++++----------------- pyproject.toml | 7 ++- 3 files changed, 75 insertions(+), 54 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fbc412..856e1b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -499,6 +499,12 @@ jobs: # * false positive for Python: advisory says RecordBatchFileReader::PreBufferMetadata is not exposed in Python bindings # * this repo uses PyArrow through pandas parquet IO and Arrow table construction, not IPC file pre-buffering # * databricks-sqlalchemy 1.x caps pyarrow<17, but upgrading requires SQLAlchemy 2.x (which is not possible for some Python versions) + # CVE-2026-126190, CVE-2026-126191, CVE-2026-126193 (soupsieve 2.10 selector denial of service on Python < 3.12) + # * fixed only in soupsieve 3.0.2+ (4.0+ for CVE-2026-126190), which requires Python 3.11.5 and fails every CSS selector on older 3.11 releases + # * the 3.11 kernel bundle is frozen on the builder's latest 3.11 but installed on any 3.11 patch release, so 3.11 stays on soupsieve 2.x ignore-vulns: | PYSEC-2024-161 PYSEC-2026-113 + CVE-2026-126190 + CVE-2026-126191 + CVE-2026-126193 diff --git a/poetry.lock b/poetry.lock index 9fcdb46..f5f79e3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1945,15 +1945,15 @@ wmi = ["wmi (>=1.5.1) ; platform_system == \"Windows\""] [[package]] name = "dnspython" -version = "2.9.0" +version = "2.9.2" description = "DNS toolkit" optional = false python-versions = ">=3.11" groups = ["main"] markers = "python_version >= \"3.11\"" files = [ - {file = "dnspython-2.9.0-py3-none-any.whl", hash = "sha256:9a4aedb833c3c1b49214d04d44d3032ab7a9135f7c1d29a549b4ff78fd82fda9"}, - {file = "dnspython-2.9.0.tar.gz", hash = "sha256:b44dc6b18f07a8b1c56676a19fbfdb5209415b046a9cece286baafa87ff3f7f1"}, + {file = "dnspython-2.9.2-py3-none-any.whl", hash = "sha256:af15f7d385a6ae2fb35a796fde2138004c8c42c7389090e2addc83e3b3340fd8"}, + {file = "dnspython-2.9.2.tar.gz", hash = "sha256:8d4d39a513e649d634004ce4d39ade2352efcea472a0247535a5c2d18a9d7ba9"}, ] [package.extras] @@ -8042,14 +8042,28 @@ files = [ [[package]] name = "soupsieve" -version = "2.9.2" +version = "2.10" description = "A modern CSS selector implementation for Beautiful Soup." optional = false python-versions = ">=3.10" groups = ["main"] +markers = "python_version < \"3.12\"" +files = [ + {file = "soupsieve-2.10-py3-none-any.whl", hash = "sha256:8596eb8967d744174820280fa62b4542a2e955bfaccca73ed8a13c6eb8e9b502"}, + {file = "soupsieve-2.10.tar.gz", hash = "sha256:49e9380d7d2905463583bafe285e818c7366a9ed7b3aee221c1ac79c905d8bc0"}, +] + +[[package]] +name = "soupsieve" +version = "4.1.2" +description = "A modern CSS selector implementation for Beautiful Soup." +optional = false +python-versions = ">=3.11.5" +groups = ["main"] +markers = "python_version >= \"3.12\"" files = [ - {file = "soupsieve-2.9.2-py3-none-any.whl", hash = "sha256:8089a26fd974ca7a1f30276d3d8492ab266ab15af581642dfe8aa162e0c1c823"}, - {file = "soupsieve-2.9.2.tar.gz", hash = "sha256:4a55d8cf158a9c2e587fa4922f1bbb91d68ac829e2d6f25403a85747c71daf74"}, + {file = "soupsieve-4.1.2-py3-none-any.whl", hash = "sha256:96b4115212a3abee1f572d62da706cca090b088cb5effa278db5702122e63a2c"}, + {file = "soupsieve-4.1.2.tar.gz", hash = "sha256:c6539a2638f26991463527337e39d630e3cbb86d024f52282a510535b8a7e09f"}, ] [[package]] @@ -8676,56 +8690,56 @@ files = [ [[package]] name = "tornado" -version = "6.6" +version = "6.6.1" description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed." optional = false python-versions = ">=3.11" groups = ["main"] markers = "python_version >= \"3.11\"" files = [ - {file = "tornado-6.6-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:01abf15429d64f04ccfafc238b191cc2c177108b7a331f4461707ad77198c8c2"}, - {file = "tornado-6.6-cp311-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:11bb97c00981eb8254e55bd6a5ad960c983ae343fef8ae3ae5584cd1fb70236a"}, - {file = "tornado-6.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e152a3b2d3eae113b836d979823f7bb2320f7e334a84449729964921f374a4c"}, - {file = "tornado-6.6-cp311-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e912d4c4babd04db6f34b25b748174a4a176debe86c8610beedf1815f9af7fdd"}, - {file = "tornado-6.6-cp311-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:33aabe8a03d426cef4e0fe5669f0643cadd983b54957f1a7ac2789ec326e9644"}, - {file = "tornado-6.6-cp311-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9aaf0e1c2fb9f046f30e2036b8d2060666399e8464d0a72769e43c754089567b"}, - {file = "tornado-6.6-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:61fc5513cea97720ab9bf54b04827ac0f4500c63f0b072b963d6145c798b4661"}, - {file = "tornado-6.6-cp311-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:31e1a0d5cd704d2fe8a008c1cc27a0e2b67269ca263630a27985dddc160b5537"}, - {file = "tornado-6.6-cp311-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:74416e41e9bdf70fbc2fb242f6fbbc7a58ec11e59d39f15fc5a421ecb6845118"}, - {file = "tornado-6.6-cp311-abi3-musllinux_1_2_s390x.whl", hash = "sha256:8cdd69104ae9d705b3f04d2563aa96e357043e267a455802daae9a1e633a37c8"}, - {file = "tornado-6.6-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:fc7c8a3263501fbe97518cd699101bc3c5f499a7dd4f75fc6cbb3bd9ee1db1f1"}, - {file = "tornado-6.6-cp311-abi3-win32.whl", hash = "sha256:b54ca69ff93d0374efb083a12a1e9ec2dd2036e8496d197e0e8ef77b8d9135c3"}, - {file = "tornado-6.6-cp311-abi3-win_amd64.whl", hash = "sha256:48f26ed9d7beb64e5f06adc864524e581ab6d62ba8ff46eaaa1ac2d0e6d753fd"}, - {file = "tornado-6.6-cp311-abi3-win_arm64.whl", hash = "sha256:29114ffd4e4de869d390393df9e9a0f191065aae1a96f38a58d35e464c04a867"}, - {file = "tornado-6.6-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:63fc8d243b52fd8dd9ed4ad02d0df08f2024f9aea632a433a8a6c91075076d44"}, - {file = "tornado-6.6-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8d4b85cac795bfc6a7f20ba81871abb8c2ae8fba019061b8a9ae1c2f97e29637"}, - {file = "tornado-6.6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e035c065edadfa696529d05eebcbeb25154c129b5aee6dbfb697a6abf5d4f697"}, - {file = "tornado-6.6-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5b94e589ab855090c448b5c0937b3a75f1c1a604b7b36207e8236d209f720b9c"}, - {file = "tornado-6.6-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1a394c8c9db9137f2a2b42869d9f7b91398fcf19da120d0dde4c4546172710f7"}, - {file = "tornado-6.6-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0215d1df6e4b5e736ddad5adf0af4138cf7437fdd39c77c5e69768e37850a632"}, - {file = "tornado-6.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:4d711790e0a9576ad924d942c4607e4e401d697588ea6f30f6662824008a7add"}, - {file = "tornado-6.6-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:034a66bae0f55421d007803e2385d2a59707d8829b2f026373d42f08256e9922"}, - {file = "tornado-6.6-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:5cb38483b077129056a94dd415a71d29ab4e42b46da894fee8b4657003f10b21"}, - {file = "tornado-6.6-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:46bbbd107efa37777ac4b83601866d19b4dbd5b770a7a9123582633d95959ad3"}, - {file = "tornado-6.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b85e9d0263cdbc027b95947c8b873a7bc7fd6a08d16bfb4f5047350b0808e464"}, - {file = "tornado-6.6-cp314-cp314t-win32.whl", hash = "sha256:4276eef0880e5fe4488e6799c2842f59af3b06637e9313ab4fb506f9c9c2d6cb"}, - {file = "tornado-6.6-cp314-cp314t-win_amd64.whl", hash = "sha256:10d4af98c6df09f8429b1340ccaea3a72887b86f695dfb8056bda517c8115a00"}, - {file = "tornado-6.6-cp314-cp314t-win_arm64.whl", hash = "sha256:b1f0ef20a5278854f5fdac31637bafadb055405df28b7fc945e54add12b172e3"}, - {file = "tornado-6.6-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:8f8e382da30fe042f27f27a871e21aefc2613870e5a41648de18446c72d6ea59"}, - {file = "tornado-6.6-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8c7a8a328396c2195454a2ecd9499512441bbce99505544a717e6a87d16ff6f9"}, - {file = "tornado-6.6-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ca025bb0da81c294aef26f27427316df1525220820315f4bf32dc1e84a4d2232"}, - {file = "tornado-6.6-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:59c22ebc905ac2a267f8d9d8a878f86afbcbbde329d75c485f1422fc45a81b83"}, - {file = "tornado-6.6-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f89802bc0bcd15f988d9325b4e6d2171bb04ea68d188732556335e10d3fd00bd"}, - {file = "tornado-6.6-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:70043256d5958f9c655066153d23d60ea3e29bf9854f7fb75850e223c477758a"}, - {file = "tornado-6.6-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:82b49495e3849d644b841ef33b35491160055997deaa93720ff647ef019421db"}, - {file = "tornado-6.6-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:07b2bcaa4bf447bdbfb664e4c28344226540db3f0ebccd74886528338a240765"}, - {file = "tornado-6.6-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:c36b921374c302e54909bae17d9f354061d80e7ae7d8c94f73abbcc217866460"}, - {file = "tornado-6.6-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:7412d9e37aa9f7048e4b591f520a95f7a097278ffab15f1ddf3f5c2320cf6648"}, - {file = "tornado-6.6-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:15bc95112b2d24b0bfaee9a004e3f974da929e33b4244a7f695a22f45b08a5e5"}, - {file = "tornado-6.6-cp315-cp315t-win32.whl", hash = "sha256:f661c21117b875d612371f3eb243d0c69f56d9bdd6aee38b7c24453419dfe554"}, - {file = "tornado-6.6-cp315-cp315t-win_amd64.whl", hash = "sha256:ee8853ab35da510dc952879ebd9995c82bc10ffb7925fd87930dc0d6916f4b39"}, - {file = "tornado-6.6-cp315-cp315t-win_arm64.whl", hash = "sha256:7de62e2dfdf559fd7154d2b9aa58ff3d9cff8304ae0519341feb082618bc2a33"}, - {file = "tornado-6.6.tar.gz", hash = "sha256:34c4aa916d7f2b2d5cadee2c6850f5a4a7f3d688cbf58399ea9bd3057af4abd5"}, + {file = "tornado-6.6.1-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:a8d3e6acde5a80d13b13b5e4c7c226ca682f31d0a62b6c33cea038714bc2de1b"}, + {file = "tornado-6.6.1-cp311-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1b6ff57cc69b339f8feb9e7b567b0e0eacb16bfaf234159496623ef7a67ba640"}, + {file = "tornado-6.6.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:da6ce2da215810d56539fa6cac77d9e27f4d8139c6868c53436b2fe933f43c79"}, + {file = "tornado-6.6.1-cp311-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8cd28b2cacbe63d53e28a38546a3492b488417eeb3f7ecf10954476fc2508882"}, + {file = "tornado-6.6.1-cp311-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:25b2619274bca77d0eb7b4d96dcf2d1142bb9bf172ad6a7491a1e1f82e6e48fa"}, + {file = "tornado-6.6.1-cp311-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:77dd6e0c659fdc45824e0746988ac5c060c2a9fee9b8cbbcdb999b3f29d3cd10"}, + {file = "tornado-6.6.1-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:b62fded687e55acaf9e36c1230b006066a35b3f6df093ba1fd3b2ff592070e1d"}, + {file = "tornado-6.6.1-cp311-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:ecef88054d8a77878f61061ff67dfc5e1c17d1f7334890ab508b310e8e68ee46"}, + {file = "tornado-6.6.1-cp311-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:ca95e762df1ca761f330e3f2a034c15ac144569844b52527a5a9eca9f524c0f1"}, + {file = "tornado-6.6.1-cp311-abi3-musllinux_1_2_s390x.whl", hash = "sha256:8cae3d8f2585be01670da9fd5010c61724c51b61ecd4c06820e95874739daf7c"}, + {file = "tornado-6.6.1-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:6596f3e939962f13099ce8d1a96b83226e908ca369b193370a6efa84585a1601"}, + {file = "tornado-6.6.1-cp311-abi3-win32.whl", hash = "sha256:0f0f596a0dab6826aa21d103c7bc242e3fb7cfc99c5c3d44a35ba8c83abbdca4"}, + {file = "tornado-6.6.1-cp311-abi3-win_amd64.whl", hash = "sha256:5cb82ca38596e1350fceaf994f287847f82f7b8436380d36ba0937a03107d0ee"}, + {file = "tornado-6.6.1-cp311-abi3-win_arm64.whl", hash = "sha256:58d2f47e7b54fded3407dbbbe4e59d29ca627f85bf6c0f21f0b151c6c7fc9c53"}, + {file = "tornado-6.6.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:ed0bc5a1a9f6346e7bdadc106fa2d4c6e79d71d8b2df4366260ab3baf36a8399"}, + {file = "tornado-6.6.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:54c80f9bed0bf1533ecf5a90dc59651645622d62b0bcffa2692d108a1f794917"}, + {file = "tornado-6.6.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb67ba2cbf598e842f14684eab029a5a4ba7ab587e8c4e40940a77ed0596b31e"}, + {file = "tornado-6.6.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d83bac141bd9360d8e995ec512097be19ead2e9213c3e7088510a036f3192b8d"}, + {file = "tornado-6.6.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:60aad449dbcebaa8d69bff50c6ba39858fab8d256e779a99bb30ebf6724b9b48"}, + {file = "tornado-6.6.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b9ce0d6548bd73b1329075b247d3fdc61538922f558ee42059e08f5df53fc197"}, + {file = "tornado-6.6.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ce5a18654f5d56d11400ab5d87103660e14deceab41818a06a42acc8dbbe427d"}, + {file = "tornado-6.6.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:3298fce72c35f836eab4c4db8b960104ff1ea718033a6b5e236f04efe3a1b6e1"}, + {file = "tornado-6.6.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:0223e827cedf4e35ebb035e57a0d9974563cd043e3a53f8bb72a859b6f53777e"}, + {file = "tornado-6.6.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:533185c89be3ffb01656c9425da4ff42587a3af784b37d39fe762e8fce3b2dbe"}, + {file = "tornado-6.6.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:fbaa022a49a27b65668592cf43b898ff3978cbe4e6926fdfe24dbef59053bd26"}, + {file = "tornado-6.6.1-cp314-cp314t-win32.whl", hash = "sha256:4bc6c60faf86162df25ba2ff5611d27b6ef8226de9d61c07a0fab53c169630a5"}, + {file = "tornado-6.6.1-cp314-cp314t-win_amd64.whl", hash = "sha256:71c16b382b22d3234913a3f74a1ea84bede197d11eb03871df17bb123088dfa5"}, + {file = "tornado-6.6.1-cp314-cp314t-win_arm64.whl", hash = "sha256:510c7261ed986ecd6f74edc1a13412759e7abc2e8be3a6c85e15f6c53e1f3c84"}, + {file = "tornado-6.6.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:01dc73e3697eb94d78c42e03931ab621da97d12fdfb6339e64ff5a934b220fcf"}, + {file = "tornado-6.6.1-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:95bd4751357bef52aa655e236b9667ff054885de4b118e4ce9ba5c06e12ef5d0"}, + {file = "tornado-6.6.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:29bce3190c2973fcd2171c95eeab8bf06d2f7a7eb107455ce3e4662c704aecdb"}, + {file = "tornado-6.6.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b777fbe0bdb2c4dc764aadf5f70e9b23b2e536c339d61c799d3ea1b575a7c285"}, + {file = "tornado-6.6.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:15443805d6b7aa11610cc6c5be7e71b4a93369aeb2ca5a13c2def53a3af5ba45"}, + {file = "tornado-6.6.1-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b77ab23d1520c807d11e703e79b020d3bc3676a0f5ebc8531f46d3fac8aecb2f"}, + {file = "tornado-6.6.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:872249311539281c1e8a5d8d6f27f478bf705a9bd931bf374b6b31b05177dfda"}, + {file = "tornado-6.6.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:08b808e8d3312c268f9fe1ffebfcfaaf342e7fe4ac40d219a7e1b58bac547d6f"}, + {file = "tornado-6.6.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:8d475f4053c693b5c1483eb4845824129b0b51c65712e736b3c2ea1c8f6080cd"}, + {file = "tornado-6.6.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:e923e75c9d641cdb8bbac60070a2dccdb684fc555af2bff48b0eaded0f88c2dc"}, + {file = "tornado-6.6.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:a72f70b1aa630fa2106d39a025e2be75c272b7ec8233da94e2f407ea754cc32d"}, + {file = "tornado-6.6.1-cp315-cp315t-win32.whl", hash = "sha256:2fbfd2510b6163b189773155a8246c025cb260ccc7cd12ad18c36c54f5617bb9"}, + {file = "tornado-6.6.1-cp315-cp315t-win_amd64.whl", hash = "sha256:3c35091add5863feb9cf651851bb1b23592f1f9551b5dfed72837c83ea4e5b85"}, + {file = "tornado-6.6.1-cp315-cp315t-win_arm64.whl", hash = "sha256:065bc741478b168df9baf754956a3010c04d1330bb45a84833d807c29e11b257"}, + {file = "tornado-6.6.1.tar.gz", hash = "sha256:28e6311402af59c8b02e3fa0f5e7d8eb465b25081381803b127d97e6a4395d5a"}, ] [[package]] @@ -9718,4 +9732,4 @@ server = ["deepnote-python-lsp-server", "jupyter-resource-usage", "jupyter-serve [metadata] lock-version = "2.1" python-versions = ">=3.10.0,<3.15" -content-hash = "a1fee7882f6dac71e0720450d9bed61101740f0524eee29c0e57ee9a2a664fe0" +content-hash = "d8a299957608995490aae3f2d2ca49795662296265ef7790c70791be9009f8d4" diff --git a/pyproject.toml b/pyproject.toml index ac3377f..2802c4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ dependencies = [ "sqlparse>=0.6.0,<0.7", "pymysql>=1.1.1,<1.2", "pymongo>=4.18.3,<5", # 4.18.3 fixes CVE-2026-106435 - "dnspython>=2.9.0,<3.0; python_version >= '3.11'", # 2.9.0 fixes CVE-2026-114605 (transitive via pymongo) + "dnspython>=2.9.2,<3.0; python_version >= '3.11'", # 2.9.2 fixes CVE-2026-128089 (transitive via pymongo) "dnspython>=2.7.0,<3.0; python_version < '3.11'", # dnspython 2.9.0 requires Python 3.11 "paramiko>=5.0.0,<6", "sqlalchemy<2; python_version <= '3.11'", @@ -143,7 +143,7 @@ dependencies = [ "cryptography>=50.0.0,<51", "protobuf>=5.29.6,<6", "requests>=2.32.4,<3", - "tornado>=6.6,<7; python_version >= '3.11'", # 6.6 fixes CVE-2026-115927, CVE-2026-116577, CVE-2026-116578 + "tornado>=6.6.1,<7; python_version >= '3.11'", # 6.6.1 fixes CVE-2026-126347 "tornado>=6.5.9,<7; python_version < '3.11'", # tornado 6.6 requires Python 3.11 "filelock>=4.2.1,<5; python_version >= '3.11'", # 4.2.1 fixes CVE-2026-112907, CVE-2026-112913, CVE-2026-112940 "filelock==3.20.3; python_version < '3.11'", # 3.20.4 through 4.2.0 carry those advisories, and 4.2.1 requires Python 3.11 @@ -163,7 +163,8 @@ dependencies = [ "idna>=3.15,<4", # https://github.com/deepnote/deepnote-toolkit/security/dependabot/59 "click>=8.3.3,<9", "pyasn1>=0.6.5,<0.7", # 0.6.5 fixes CVE-2026-119194, CVE-2026-119195, CVE-2026-119196, CVE-2026-119197 (transitive via google-auth) - "soupsieve>=2.8.4,<3", + "soupsieve>=4.1.2,<5; python_version >= '3.12'", # 4.1.2 fixes CVE-2026-126189..126193 and 4 advisories published only in soupsieve's repo, such as GHSA-gcq2-p324-qj2v (transitive via beautifulsoup4) + "soupsieve>=2.10,<3; python_version < '3.12'", # 2.10 fixes CVE-2026-126192; soupsieve 3.0.2+ requires Python 3.11.5, which the 3.11 kernel bundle can't guarantee # Config dependencies - they need to be declared both in main and server extras, keep them in sync "pydantic>=1.10.0,<3; python_version < '3.13'", From 5c420bb44f5631e71b2014264e1ed733b628133d Mon Sep 17 00:00:00 2001 From: tomas Date: Thu, 19 Nov 2026 09:47:54 +0000 Subject: [PATCH 2/2] fix(deps): use soupsieve 4.1.2 on Python 3.11.5 and newer Deepnote's 3.11 runtime image is on CPython 3.11.5 or newer, and the bundle builder's 3.11 is 3.11.16, so the 3.11 kernel bundle can take soupsieve 4.1.2 instead of 2.10. The split moves from Python 3.12 to 3.11.5, the first release whose re module has working possessive quantifiers, which soupsieve 3.0.2+ requires. With 3.11 on 4.1.2, the audit no longer needs to ignore CVE-2026-126190, CVE-2026-126191 and CVE-2026-126193, so ci.yml is back to main's version. Only the soupsieve blocks and the content-hash change in the lock. --- .github/workflows/ci.yml | 6 ------ poetry.lock | 6 +++--- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 856e1b5..3fbc412 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -499,12 +499,6 @@ jobs: # * false positive for Python: advisory says RecordBatchFileReader::PreBufferMetadata is not exposed in Python bindings # * this repo uses PyArrow through pandas parquet IO and Arrow table construction, not IPC file pre-buffering # * databricks-sqlalchemy 1.x caps pyarrow<17, but upgrading requires SQLAlchemy 2.x (which is not possible for some Python versions) - # CVE-2026-126190, CVE-2026-126191, CVE-2026-126193 (soupsieve 2.10 selector denial of service on Python < 3.12) - # * fixed only in soupsieve 3.0.2+ (4.0+ for CVE-2026-126190), which requires Python 3.11.5 and fails every CSS selector on older 3.11 releases - # * the 3.11 kernel bundle is frozen on the builder's latest 3.11 but installed on any 3.11 patch release, so 3.11 stays on soupsieve 2.x ignore-vulns: | PYSEC-2024-161 PYSEC-2026-113 - CVE-2026-126190 - CVE-2026-126191 - CVE-2026-126193 diff --git a/poetry.lock b/poetry.lock index f5f79e3..ec98745 100644 --- a/poetry.lock +++ b/poetry.lock @@ -8047,7 +8047,7 @@ description = "A modern CSS selector implementation for Beautiful Soup." optional = false python-versions = ">=3.10" groups = ["main"] -markers = "python_version < \"3.12\"" +markers = "python_full_version < \"3.11.5\"" files = [ {file = "soupsieve-2.10-py3-none-any.whl", hash = "sha256:8596eb8967d744174820280fa62b4542a2e955bfaccca73ed8a13c6eb8e9b502"}, {file = "soupsieve-2.10.tar.gz", hash = "sha256:49e9380d7d2905463583bafe285e818c7366a9ed7b3aee221c1ac79c905d8bc0"}, @@ -8060,7 +8060,7 @@ description = "A modern CSS selector implementation for Beautiful Soup." optional = false python-versions = ">=3.11.5" groups = ["main"] -markers = "python_version >= \"3.12\"" +markers = "python_full_version >= \"3.11.5\"" files = [ {file = "soupsieve-4.1.2-py3-none-any.whl", hash = "sha256:96b4115212a3abee1f572d62da706cca090b088cb5effa278db5702122e63a2c"}, {file = "soupsieve-4.1.2.tar.gz", hash = "sha256:c6539a2638f26991463527337e39d630e3cbb86d024f52282a510535b8a7e09f"}, @@ -9732,4 +9732,4 @@ server = ["deepnote-python-lsp-server", "jupyter-resource-usage", "jupyter-serve [metadata] lock-version = "2.1" python-versions = ">=3.10.0,<3.15" -content-hash = "d8a299957608995490aae3f2d2ca49795662296265ef7790c70791be9009f8d4" +content-hash = "ea51d7b8a691ba544ff3c84b7aa7ae25c9916ce03b308db8d4b7e46e12c92c74" diff --git a/pyproject.toml b/pyproject.toml index 2802c4c..520c6da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -163,8 +163,8 @@ dependencies = [ "idna>=3.15,<4", # https://github.com/deepnote/deepnote-toolkit/security/dependabot/59 "click>=8.3.3,<9", "pyasn1>=0.6.5,<0.7", # 0.6.5 fixes CVE-2026-119194, CVE-2026-119195, CVE-2026-119196, CVE-2026-119197 (transitive via google-auth) - "soupsieve>=4.1.2,<5; python_version >= '3.12'", # 4.1.2 fixes CVE-2026-126189..126193 and 4 advisories published only in soupsieve's repo, such as GHSA-gcq2-p324-qj2v (transitive via beautifulsoup4) - "soupsieve>=2.10,<3; python_version < '3.12'", # 2.10 fixes CVE-2026-126192; soupsieve 3.0.2+ requires Python 3.11.5, which the 3.11 kernel bundle can't guarantee + "soupsieve>=4.1.2,<5; python_full_version >= '3.11.5'", # 4.1.2 fixes CVE-2026-126189..126193 and 4 newer advisories, such as GHSA-gcq2-p324-qj2v (transitive via beautifulsoup4) + "soupsieve>=2.10,<3; python_full_version < '3.11.5'", # 2.10 fixes CVE-2026-126192; soupsieve 3.0.2+ requires Python 3.11.5 # Config dependencies - they need to be declared both in main and server extras, keep them in sync "pydantic>=1.10.0,<3; python_version < '3.13'",