Skip to content

[Snyk] Security upgrade werkzeug from 1.0.1 to 3.1.6#37

Open
ashmuck wants to merge 1 commit into
mainfrom
snyk-fix-fba031dde35558c5dd724cbf56c0640f
Open

[Snyk] Security upgrade werkzeug from 1.0.1 to 3.1.6#37
ashmuck wants to merge 1 commit into
mainfrom
snyk-fix-fba031dde35558c5dd724cbf56c0640f

Conversation

@ashmuck
Copy link
Copy Markdown

@ashmuck ashmuck commented Feb 20, 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
tensorboard 2.4.1 requires werkzeug, which is not installed.
tensorboard 2.4.1 has requirement setuptools>=41.0.0, but you have setuptools 40.5.0.
scikit-learn 1.0.2 requires scipy, 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

Medium Risk
Dependency-only change, but Werkzeug has major-version jumps that can introduce runtime incompatibilities in any transitive Flask/tensorboard usage.

Overview
Upgrades the pinned Werkzeug dependency in requirements.txt from 1.0.1 to 3.1.6 (Snyk security upgrade).

Written by Cursor Bugbot for commit 6ba5238. 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-15322677
Copy link
Copy Markdown

@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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread requirements.txt
tzlocal==2.1
urllib3==1.26.3
Werkzeug==1.0.1
Werkzeug==3.1.6
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Werkzeug 3.x breaks tensorboard 2.4.1 compatibility

High Severity

Upgrading Werkzeug from 1.0.1 to 3.1.6 breaks tensorboard==2.4.1, which relies on internal Werkzeug APIs removed in 3.x (e.g., _plain_int from werkzeug._internal). This causes an ImportError at runtime when tensorboard is used. Either tensorboard needs to be upgraded to a version compatible with Werkzeug 3.x, or Werkzeug needs to stay within the 2.x range.

Additional Locations (1)

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