From 7212867fa5631a1cf0c1b1664595f749b373d9c4 Mon Sep 17 00:00:00 2001 From: Stephen Masters Date: Fri, 13 Nov 2026 17:24:07 +0000 Subject: [PATCH] build(deps): take soupsieve 4.1 for CVE-2026-126190 Co-authored-by: Yvette Mankerian Co-Authored-By: Claude Fable 5.2 --- .github/workflows/ci.yml | 1 + .trivyignore.yaml | 12 ++++++++++++ uv.lock | 8 ++++---- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 .trivyignore.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a45b89..544cb28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,6 +97,7 @@ jobs: ignore-unfixed: true vuln-type: library severity: HIGH,CRITICAL + trivyignores: .trivyignore.yaml # A source-tree SBOM, which is not the same thing as the per-package # SBOMs published with a release. This one covers what is committed -- diff --git a/.trivyignore.yaml b/.trivyignore.yaml new file mode 100644 index 0000000..c4491d3 --- /dev/null +++ b/.trivyignore.yaml @@ -0,0 +1,12 @@ +# Findings the Trivy scan in ci.yml is told to pass over. Each entry names +# one package version, never a whole CVE, so a newer copy of the same package +# is still checked. Give the reason and the date it was reviewed. +vulnerabilities: + # The fix is in soupsieve 4.0, which needs Python 3.11.5 or later. The lock + # file keeps 2.10 only for Python 3.11.0 to 3.11.4, where no fixed release + # exists. Remove this entry when the minimum Python version passes 3.11.4. + # Reviewed 2026-11-13. + - id: CVE-2026-126190 + purls: + - "pkg:pypi/soupsieve@2.10" + statement: No fixed release for Python below 3.11.5; later Pythons lock 4.1 diff --git a/uv.lock b/uv.lock index 1fb9299..9ca61f8 100644 --- a/uv.lock +++ b/uv.lock @@ -337,7 +337,7 @@ version = "4.15.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "soupsieve", version = "2.10", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11.5'" }, - { name = "soupsieve", version = "3.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11.5'" }, + { name = "soupsieve", version = "4.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11.5'" }, { name = "typing-extensions" }, ] sdist = { url = "https://files.pythonhosted.org/packages/43/65/318323f98dbee45d42dff61d8f047181bc6f2268a9068cfad035a46be5af/beautifulsoup4-4.15.0.tar.gz", hash = "sha256:288e3ca7d54b06f2ac191970bc275c1939cb46d450b255bf6718b04aa37ab4f7", size = 632571, upload-time = "2026-06-07T16:44:20.453Z" } @@ -4878,7 +4878,7 @@ wheels = [ [[package]] name = "soupsieve" -version = "3.0.4" +version = "4.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'darwin'", @@ -4902,9 +4902,9 @@ resolution-markers = [ "python_full_version >= '3.11.5' and python_full_version < '3.12' and sys_platform == 'emscripten'", "(python_full_version >= '3.11.5' and python_full_version < '3.12' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.11.5' and python_full_version < '3.12' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'linux' and sys_platform != 'win32')", ] -sdist = { url = "https://files.pythonhosted.org/packages/19/63/0b6bae54546aed98d72f12d09df57b19a287f01c84d22047fa2e23772ab9/soupsieve-3.0.4.tar.gz", hash = "sha256:924fab84ae21604c19e175e1f39815eb6fa83ba23836e09e9de180925e5bc4c0", size = 119017, upload-time = "2026-10-22T00:45:26.362Z" } +sdist = { url = "https://files.pythonhosted.org/packages/95/48/21a393ff731b8f928fa4f8176f9a7ceba2252ee60a5149f25b45c292aa5c/soupsieve-4.1.tar.gz", hash = "sha256:ca9abf7126667010d8f6e9b39bfc1bc3b23c8aed9bcb0f54a754dde969bb8aab", size = 161955, upload-time = "2026-11-10T01:59:50.399Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/07/66/473f7ca0be0b06e38ee8c85ee2db184e3981bd769fac2e7c19c8a8865211/soupsieve-3.0.4-py3-none-any.whl", hash = "sha256:8412826614f9c632227067d0985aeb9f584bd15efc852955430e097a9fe7afbf", size = 42458, upload-time = "2026-10-22T00:45:24.843Z" }, + { url = "https://files.pythonhosted.org/packages/88/73/6a2087c72975cfc07394623bca8d17654342ea4055ae368deafe5a81a542/soupsieve-4.1-py3-none-any.whl", hash = "sha256:e4d667b3974ce6e038e7390486b8093369854a1d345ffdd4c121dfc4a782e809", size = 52302, upload-time = "2026-11-10T01:59:48.571Z" }, ] [[package]]