Skip to content

fix: bump deps and base image to clear security scan CVEs#51

Merged
lorr1 merged 1 commit into
mainfrom
gautam-fix/CVE-fix
May 15, 2026
Merged

fix: bump deps and base image to clear security scan CVEs#51
lorr1 merged 1 commit into
mainfrom
gautam-fix/CVE-fix

Conversation

@glageju
Copy link
Copy Markdown
Collaborator

@glageju glageju commented May 15, 2026

Summary

The daily Grype security scan (workflow) has been failing on main. This PR clears every "medium or higher, fix available" finding from both the filesystem and
image scans.

Vulnerabilities fixed

Source Package From → To Severity Advisory
pyproject.toml (runtime) python-multipart 0.0.260.0.27 High GHSA-pp6c-gr5w-3c5g
pyproject.toml (security group) pip 26.0.126.1 Medium GHSA-jp4c-xjxw-mgf9
pyproject.toml (security group) urllib3 2.6.32.7.0 High GHSA-mf9v-mfxr-j63j, GHSA-qccp-gfcp-xxvc
Dockerfile (Alpine 3.23 base) xz-libs 5.8.2-r05.8.3-r0 Medium CVE-2026-34743

pip and urllib3 come in transitively via pip-audit (dev/security group only), so they're pinned in the security group following the same pattern already used for lxml. python-multipart is a runtime transitive via fastapi and
mcp.

The Dockerfile base image SHAs were bumped to the latest DHI python:3.13-alpine3.23 and -dev manifests, which carry xz-libs 5.8.3-r0.

Test plan

  • task lint — all checks passed
  • task typecheck — all checks passed
  • task test — 11 passed, 3 integration skipped
  • task securitypip-audit and bandit clean
  • grype dir:. --fail-on medium --only-fixed — no vulnerabilities found
  • docker build + grype mcp-template-py:cve-test --fail-on medium --only-fixed — no vulnerabilities found
  • Confirm the scheduled Security Scan workflow passes on this branch

@glageju glageju changed the title fix security scan failure fix: bump deps and base image to clear security scan CVEs May 15, 2026
@glageju glageju marked this pull request as ready for review May 15, 2026 01:47
@glageju glageju requested review from lorr1 and tgrunnagle May 15, 2026 01:47
@lorr1 lorr1 merged commit 50e7485 into main May 15, 2026
7 of 9 checks passed
@lorr1 lorr1 deleted the gautam-fix/CVE-fix branch May 15, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants