Skip to content

Commit f454c68

Browse files
authored
Security: Update dependencies to fix CVE vulnerabilities (#554)
* Security: Update dependencies to fix CVE vulnerabilities - Update fastapi[standard] to >=0.116.0 - Update sentry-sdk[fastapi] to >=2.20.0 (major version upgrade) - Migrate dev-dependencies from deprecated [tool.uv] to [dependency-groups] CVEs addressed: - CVE-2025-66418, CVE-2025-66471, CVE-2026-21441 (urllib3) - CVE-2025-69223 to CVE-2025-69230 (aiohttp) - CVE-2025-54121, CVE-2025-62727 (starlette) - CVE-2025-66221, CVE-2026-21860 (werkzeug) - CVE-2025-68146, CVE-2026-22701 (filelock) Verified with pip-audit: 0 vulnerabilities found. * Security: Fix python-multipart CVE path traversal vulnerability * Update python-multipart minimum version to 0.0.22 to address path traversal vulnerability in file uploads. Also reverted to tool.uv.dev-dependencies format to fix CI test execution issues.
1 parent 2ee689f commit f454c68

File tree

2 files changed

+2373
-2044
lines changed

2 files changed

+2373
-2044
lines changed

backend/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.0"
44
description = ""
55
requires-python = ">=3.12,<4.0"
66
dependencies = [
7-
"fastapi[standard]<1.0.0,>=0.114.2",
8-
"python-multipart<1.0.0,>=0.0.7",
7+
"fastapi[standard]>=0.116.0",
8+
"python-multipart>=0.0.22,<1.0.0",
99
"email-validator<3.0.0.0,>=2.1.0.post1",
1010
"passlib[bcrypt]<2.0.0,>=1.7.4",
1111
"tenacity<9.0.0,>=8.2.3",
@@ -19,7 +19,7 @@ dependencies = [
1919
# Pin bcrypt until passlib supports the latest
2020
"bcrypt==4.0.1",
2121
"pydantic-settings<3.0.0,>=2.2.1",
22-
"sentry-sdk[fastapi]<2.0.0,>=1.40.6",
22+
"sentry-sdk[fastapi]>=2.20.0",
2323
"pyjwt<3.0.0,>=2.8.0",
2424
"boto3>=1.37.20",
2525
"moto[s3]>=5.1.1",

0 commit comments

Comments
 (0)