Skip to content

Comments

[Snyk] Security upgrade werkzeug from 0.16.0 to 3.1.5#4

Open
NewthingAde wants to merge 1 commit intomainfrom
snyk-fix-1ee37c9e0f08374bce85349c3498cec9
Open

[Snyk] Security upgrade werkzeug from 0.16.0 to 3.1.5#4
NewthingAde wants to merge 1 commit intomainfrom
snyk-fix-1ee37c9e0f08374bce85349c3498cec9

Conversation

@NewthingAde
Copy link
Owner

@NewthingAde NewthingAde commented Jan 11, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt
⚠️ Warning
Flask 1.0.2 requires Werkzeug, which is not installed.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Note

Dependency upgrade

  • Updates Werkzeug from 0.16.0 to 3.1.5 in requirements.txt to remediate known vulnerabilities

Written by Cursor Bugbot for commit 47157d1. This will update automatically on new commits. Configure here.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14908843
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 18

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

scipy==1.3.1
six==1.12.0
Werkzeug==0.16.0
Werkzeug==3.1.5
Copy link

Choose a reason for hiding this comment

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

Werkzeug 3.x incompatible with Flask 1.0.2 dependencies

High Severity

Upgrading Werkzeug from 0.16.0 to 3.1.5 breaks compatibility with Flask==1.0.2. Flask 1.0.2 was designed for Werkzeug 0.x and uses internal APIs that were removed in Werkzeug 2.0+ and 3.0+. Only Flask 3.0+ officially supports Werkzeug 3.x. This will cause ImportError exceptions at application startup (e.g., missing url_quote from werkzeug.urls). Flask also needs to be upgraded to version 3.x for this Werkzeug version to work.

Fix in Cursor Fix in Web

scipy==1.3.1
six==1.12.0
Werkzeug==0.16.0
Werkzeug==3.1.5
Copy link

Choose a reason for hiding this comment

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

Werkzeug 3.x requires Python 3.9, project uses 3.7

High Severity

The project uses Python 3.7.3 (specified in Dockerfile and .circleci/config.yml), but Werkzeug==3.1.5 requires Python 3.9 or newer. This version incompatibility will cause installation failures or runtime errors when pip attempts to install Werkzeug 3.1.5 on the Python 3.7.3 environment.

Fix in Cursor Fix in Web

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.

2 participants