Repository navigation
fix(deps): patch Python CVEs - aiohttp 3.14.5, multidict 7.2.1, mako 1.4.3, werkzeug 3.1.9 - #401
Merged
Merged
Conversation
…werkzeug Pin vulnerable transitive dependencies explicitly in requirements.in and regenerate all three lock files with Python 3.11 on Linux (pip-tools 7.6.1, pip 26.2.1) to clear pip-audit SCA failures blocking the PR queue. aiohttp 3.14.3 -> 3.14.5: fixes HIGH file descriptor exhaustion, memory exhaustion, missing timeout, request smuggling and cookie scope CVEs. multidict 6.8.0 -> 7.2.1: fixes MEDIUM reference leak in CIMultiDict. mako 1.4.1 -> 1.4.3: fixes MEDIUM path traversal on Windows via drive-letter URI. werkzeug 3.1.8 -> 3.1.9: keeps at latest to avoid regression on previous fix. Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
…CRITICAL) certifi 2026.6.17 bundles emSign root CAs that were revoked/compromised; GHSA-6q48-6c7w-9gw2 is rated CRITICAL and was found by both pip-audit and Trivy container scan. Bump to 2026.10.23 and regenerate all lock files. Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
This was referenced Oct 28, 2026
parthrohit22
approved these changes
Oct 28, 2026
parthrohit22
left a comment
Collaborator
There was a problem hiding this comment.
Re-reviewed c2a22d0. The lock changes are only versions and hashes for aiohttp, multidict, mako, werkzeug and certifi. Nothing else moved, and CI is green. Approving. Please merge this first, so the other PRs can drop their duplicate dependency edits and rebase onto it.
Two non-blocking notes:
multidict goes up a major version (6.8.0 → 7.2.1). OWASP/openshield#392 fixed the same CVE with 6.9.1. If 7.x isn’t needed for anything else, the smaller bump is lower risk.
Exact == pins on indirect dependencies in requirements.in will need manual bumps from now on. Lower bounds like >= would let the lock script handle them.
ritiksah141
approved these changes
Oct 28, 2026
This was referenced Oct 28, 2026
feat(automation): finding lifecycle engine, scan outcome contracts, and pattern detection [1/5]
#326
Open
TFT444
added a commit
that referenced
this pull request
Nov 1, 2026
Dependency lock updates are handled in #401 (fix/security-deps-python). Removing from this PR to keep the diff focused on the CSPM AI agent. Signed-off-by: Tanvir Farhad <tanvirfarhad007@gmail.com> Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
TFT444
added a commit
that referenced
this pull request
Nov 1, 2026
Dependency lock updates are handled in #401 (fix/security-deps-python). Removing from this PR to keep the diff focused on finding lifecycle. Signed-off-by: Tanvir Farhad <tanvirfarhad007@gmail.com> Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
TFT444
added a commit
that referenced
this pull request
Nov 1, 2026
Dependency lock updates are handled in #401 (fix/security-deps-python). Removing from this PR to resolve conflict with dev. Signed-off-by: Tanvir Farhad <tanvirfarhad007@gmail.com> Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
TFT444
added a commit
that referenced
this pull request
Nov 1, 2026
Dependency lock updates are handled in #401 (fix/security-deps-python). Removing from this PR to resolve conflict with dev. Signed-off-by: Tanvir Farhad <tanvirfarhad007@gmail.com> Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
TFT444
added a commit
that referenced
this pull request
Nov 1, 2026
Dependency lock updates are handled in #401 (fix/security-deps-python). Removing from this PR to resolve conflict with dev. Signed-off-by: Tanvir Farhad <tanvirfarhad007@gmail.com> Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
TFT444
added a commit
that referenced
this pull request
Nov 1, 2026
Dependency lock updates are handled in #401 (fix/security-deps-python). Removing from this PR to resolve conflict with dev. Signed-off-by: Tanvir Farhad <tanvirfarhad007@gmail.com> Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
requirements.inand regenerate all three lock files to clear pip-audit SCA failures that were blocking the entire PR queue.aiohttp3.14.3 → 3.14.5: fixes HIGH file descriptor exhaustion, memory exhaustion, missing timeout, request smuggling and cookie scope CVEsmultidict6.8.0 → 7.2.1: fixes MEDIUM reference leak in CIMultiDictmako1.4.1 → 1.4.3: fixes MEDIUM path traversal on Windows via drive-letter URIwerkzeug3.1.8 → 3.1.9: keeps at latest; already pinned in previous fix, now in requirements.in as an explicit guardWhy requirements.in
These are transitive dependencies pulled in by Flask and SQLAlchemy. Without explicit pins in
requirements.in, pip-audit flags them on every CI run, blocking unrelated PRs. Pins are placed at the bottom ofrequirements.inwith a comment.Lock file regeneration
Regenerated via
scripts/lock_dependencies.pyusing Python 3.11 on Linux (pip-tools 7.6.1, pip 26.2.1) as required by the project's lock script.Test plan
pip install -r requirements.txtproduces no audit warnings for the four pinned packages