Skip to content

Fix remaining vulnerable dependencies flagged by Safety CI#18

Merged
jhd3197 merged 2 commits intomainfrom
dev
Feb 12, 2026
Merged

Fix remaining vulnerable dependencies flagged by Safety CI#18
jhd3197 merged 2 commits intomainfrom
dev

Conversation

@jhd3197
Copy link
Owner

@jhd3197 jhd3197 commented Feb 12, 2026

  • Werkzeug 3.0.1 → 3.1.5 (5 vulnerabilities)
  • Flask-Cors 5.0.1 → 6.0.2 (3 vulnerabilities)
  • gunicorn 22.0.0 → 23.0.0 (TolerateDangerousFraming header issue)
  • cryptography 44.0.3 → 46.0.5 (CVE-2026-26007 improper input validation)

- Werkzeug 3.0.1 → 3.1.5 (5 vulnerabilities)
- Flask-Cors 5.0.1 → 6.0.2 (3 vulnerabilities)
- gunicorn 22.0.0 → 23.0.0 (TolerateDangerousFraming header issue)
- cryptography 44.0.3 → 46.0.5 (CVE-2026-26007 improper input validation)
Copilot AI review requested due to automatic review settings February 12, 2026 04:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates backend Python dependency pins to address vulnerabilities flagged by Safety CI and bumps the application version accordingly.

Changes:

  • Bump vulnerable dependencies in backend/requirements.txt (Werkzeug, Flask-Cors, gunicorn, cryptography).
  • Increment release VERSION from 1.2.85 to 1.2.86.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
backend/requirements.txt Updates pinned versions of vulnerable backend dependencies.
VERSION Bumps application version to reflect the dependency updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +25 to 27
gunicorn==23.0.0
gevent==25.4.2
gevent-websocket==0.10.1
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the backend Dockerfile, dependencies are installed from requirements.txt and then gunicorn, gevent, and gevent-websocket are installed again without version pins, which can override these pinned versions and make the build non-reproducible (and potentially reintroduce the vulnerabilities this PR is trying to fix). Consider removing the second install step or pinning those packages there to the same versions as requirements.txt.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant