Skip to content

chore(deps): bump flask from 2.2.5 to 3.1.3 in /rdagent/scenarios/rl/autorl_bench/benchmarks/webshop#2

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/rdagent/scenarios/rl/autorl_bench/benchmarks/webshop/flask-3.1.3
Closed

chore(deps): bump flask from 2.2.5 to 3.1.3 in /rdagent/scenarios/rl/autorl_bench/benchmarks/webshop#2
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/rdagent/scenarios/rl/autorl_bench/benchmarks/webshop/flask-3.1.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 2, 2026

Copy link
Copy Markdown
Contributor

Bumps flask from 2.2.5 to 3.1.3.

Release notes

Sourced from flask's releases.

3.1.3

This is the Flask 3.1.3 security fix release, which fixes a security issue but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Flask/3.1.3/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-3

  • The session is marked as accessed for operations that only access the keys but not the values, such as in and len. GHSA-68rp-wp8r-4726

3.1.2

This is the Flask 3.1.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Flask/3.1.2/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-2 Milestone: https://github.com/pallets/flask/milestone/38?closed=1

  • stream_with_context does not fail inside async views. #5774
  • When using follow_redirects in the test client, the final state of session is correct. #5786
  • Relax type hint for passing bytes IO to send_file. #5776

3.1.1

This is the Flask 3.1.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Flask/3.1.1/ Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-1 Milestone https://github.com/pallets/flask/milestone/36?closed=1

  • Fix signing key selection order when key rotation is enabled via SECRET_KEY_FALLBACKS. GHSA-4grg-w6v8-c28g
  • Fix type hint for cli_runner.invoke. #5645
  • flask --help loads the app and plugins first to make sure all commands are shown. #5673
  • Mark sans-io base class as being able to handle views that return AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. #5659

3.1.0

This is the Flask 3.1.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.

PyPI: https://pypi.org/project/Flask/3.1.0/ Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-0 Milestone: https://github.com/pallets/flask/milestone/33?closed=1

  • Drop support for Python 3.8. #5623
  • Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. #5624, #5633
  • Provide a configuration option to control automatic option responses. #5496
  • Flask.open_resource/open_instance_resource and Blueprint.open_resource take an encoding parameter to use when opening in text mode. It defaults to utf-8. #5504
  • Request.max_content_length can be customized per-request instead of only through the MAX_CONTENT_LENGTH config. Added MAX_FORM_MEMORY_SIZE and MAX_FORM_PARTS config. Added documentation about resource limits to the security page. #5625
  • Add support for the Partitioned cookie attribute (CHIPS), with the SESSION_COOKIE_PARTITIONED config. #5472
  • -e path takes precedence over default .env and .flaskenv files. load_dotenv loads default files in addition to a path unless load_defaults=False is passed. #5628
  • Support key rotation with the SECRET_KEY_FALLBACKS config, a list of old secret keys that can still be used for unsigning. Extensions will need to add support. #5621
  • Fix how setting host_matching=True or subdomain_matching=False interacts with SERVER_NAME. Setting SERVER_NAME no longer restricts requests to only that domain. #5553
  • Request.trusted_hosts is checked during routing, and can be set through the TRUSTED_HOSTS config. #5636

3.0.3

... (truncated)

Changelog

Sourced from flask's changelog.

Version 3.1.3

Released 2026-02-18

  • The session is marked as accessed for operations that only access the keys but not the values, such as in and len. :ghsa:68rp-wp8r-4726

Version 3.1.2

Released 2025-08-19

  • stream_with_context does not fail inside async views. :issue:5774
  • When using follow_redirects in the test client, the final state of session is correct. :issue:5786
  • Relax type hint for passing bytes IO to send_file. :issue:5776

Version 3.1.1

Released 2025-05-13

  • Fix signing key selection order when key rotation is enabled via SECRET_KEY_FALLBACKS. :ghsa:4grg-w6v8-c28g
  • Fix type hint for cli_runner.invoke. :issue:5645
  • flask --help loads the app and plugins first to make sure all commands are shown. :issue:5673
  • Mark sans-io base class as being able to handle views that return AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. :pr:5659

Version 3.1.0

Released 2024-11-13

  • Drop support for Python 3.8. :pr:5623
  • Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. :pr:5624,5633
  • Provide a configuration option to control automatic option responses. :pr:5496
  • Flask.open_resource/open_instance_resource and Blueprint.open_resource take an encoding parameter to use when opening in text mode. It defaults to utf-8. :issue:5504
  • Request.max_content_length can be customized per-request instead of only through the MAX_CONTENT_LENGTH config. Added

... (truncated)

Commits
  • 22d9247 release version 3.1.3
  • 089cb86 Merge commit from fork
  • c17f379 request context tracks session access
  • 27be933 start version 3.1.3
  • 4e652d3 Abort if the instance folder cannot be created (#5903)
  • 3d03098 Abort if the instance folder cannot be created
  • 407eb76 document using gevent for async (#5900)
  • ac5664d document using gevent for async
  • 4f79d5b Increase required flit_core version to 3.11 (#5865)
  • fe3b215 Increase required flit_core version to 3.11
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 2, 2026
TPTBusiness added a commit that referenced this pull request Apr 2, 2026
- Change debug=True to debug=False by default
- Add FLASK_DEBUG environment variable for development
- Show warning when debug mode is enabled
- Prevents arbitrary code execution via Werkzeug debugger
- Fixes GitHub Security Alert #2 (py/flask-debug)

Production deployments are now secure by default.
For development: export FLASK_DEBUG=1

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
TPTBusiness added a commit that referenced this pull request Apr 2, 2026
- Upgrade Werkzeug from 2.2.3 to 2.3.8 in WebShop requirements
- Translate all comments to English (project language policy)
- Add security note for CVE-2024-34069 (debugger vulnerability)
- Document mitigation: debug mode disabled in production

Security Notes:
- CVE-2024-34069 affects Werkzeug debugger (dev mode only)
- Flask 3.x required for full fix, but incompatible with WebShop
- Mitigation: Benchmark runs locally, never with debug=True in production
- This is the latest secure version compatible with Flask 2.x

Fixes Dependabot Alert #2 (GHSA-2g68-c3qc-8985)
Bumps [flask](https://github.com/pallets/flask) from 2.2.5 to 3.1.3.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](pallets/flask@2.2.5...3.1.3)

---
updated-dependencies:
- dependency-name: flask
  dependency-version: 3.1.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/rdagent/scenarios/rl/autorl_bench/benchmarks/webshop/flask-3.1.3 branch from 60056f9 to 94c97b7 Compare April 2, 2026 20:52
TPTBusiness added a commit that referenced this pull request Apr 2, 2026
- Upgrade Werkzeug from 2.3.8 to 3.1.6 (fixes all Werkzeug CVEs)
- Upgrade Flask from 2.2.5 to 3.0.0+ (required for Werkzeug 3.x)
- Add CVE-2024-49766 (safe_join UNC path bypass) to security notes
- Update comments to reflect Flask 3.x compatibility

Fixed CVEs:
- CVE-2025-66221: Windows device names in safe_join()
- CVE-2024-49766: safe_join UNC path bypass on Windows
- CVE-2024-34069: Werkzeug debugger RCE
- CVE-2024-49767: Resource exhaustion via multipart/form-data

Fixes Dependabot Alerts #2, #3, #4
@dependabot @github

dependabot Bot commented on behalf of github Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

Looks like flask is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 2, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/rdagent/scenarios/rl/autorl_bench/benchmarks/webshop/flask-3.1.3 branch April 2, 2026 20:56
TPTBusiness added a commit that referenced this pull request Apr 9, 2026
- Change debug=True to debug=False by default
- Add FLASK_DEBUG environment variable for development
- Show warning when debug mode is enabled
- Prevents arbitrary code execution via Werkzeug debugger
- Fixes GitHub Security Alert #2 (py/flask-debug)

Production deployments are now secure by default.
For development: export FLASK_DEBUG=1

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
TPTBusiness added a commit that referenced this pull request Apr 9, 2026
- Upgrade Werkzeug from 2.2.3 to 2.3.8 in WebShop requirements
- Translate all comments to English (project language policy)
- Add security note for CVE-2024-34069 (debugger vulnerability)
- Document mitigation: debug mode disabled in production

Security Notes:
- CVE-2024-34069 affects Werkzeug debugger (dev mode only)
- Flask 3.x required for full fix, but incompatible with WebShop
- Mitigation: Benchmark runs locally, never with debug=True in production
- This is the latest secure version compatible with Flask 2.x

Fixes Dependabot Alert #2 (GHSA-2g68-c3qc-8985)
TPTBusiness added a commit that referenced this pull request Apr 9, 2026
- Upgrade Werkzeug from 2.3.8 to 3.1.6 (fixes all Werkzeug CVEs)
- Upgrade Flask from 2.2.5 to 3.0.0+ (required for Werkzeug 3.x)
- Add CVE-2024-49766 (safe_join UNC path bypass) to security notes
- Update comments to reflect Flask 3.x compatibility

Fixed CVEs:
- CVE-2025-66221: Windows device names in safe_join()
- CVE-2024-49766: safe_join UNC path bypass on Windows
- CVE-2024-34069: Werkzeug debugger RCE
- CVE-2024-49767: Resource exhaustion via multipart/form-data

Fixes Dependabot Alerts #2, #3, #4
TPTBusiness added a commit that referenced this pull request May 3, 2026
- Change debug=True to debug=False by default
- Add FLASK_DEBUG environment variable for development
- Show warning when debug mode is enabled
- Prevents arbitrary code execution via Werkzeug debugger
- Fixes GitHub Security Alert #2 (py/flask-debug)

Production deployments are now secure by default.
For development: export FLASK_DEBUG=1

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
TPTBusiness added a commit that referenced this pull request May 3, 2026
- Upgrade Werkzeug from 2.2.3 to 2.3.8 in WebShop requirements
- Translate all comments to English (project language policy)
- Add security note for CVE-2024-34069 (debugger vulnerability)
- Document mitigation: debug mode disabled in production

Security Notes:
- CVE-2024-34069 affects Werkzeug debugger (dev mode only)
- Flask 3.x required for full fix, but incompatible with WebShop
- Mitigation: Benchmark runs locally, never with debug=True in production
- This is the latest secure version compatible with Flask 2.x

Fixes Dependabot Alert #2 (GHSA-2g68-c3qc-8985)
TPTBusiness added a commit that referenced this pull request May 3, 2026
- Upgrade Werkzeug from 2.3.8 to 3.1.6 (fixes all Werkzeug CVEs)
- Upgrade Flask from 2.2.5 to 3.0.0+ (required for Werkzeug 3.x)
- Add CVE-2024-49766 (safe_join UNC path bypass) to security notes
- Update comments to reflect Flask 3.x compatibility

Fixed CVEs:
- CVE-2025-66221: Windows device names in safe_join()
- CVE-2024-49766: safe_join UNC path bypass on Windows
- CVE-2024-34069: Werkzeug debugger RCE
- CVE-2024-49767: Resource exhaustion via multipart/form-data

Fixes Dependabot Alerts #2, #3, #4
TPTBusiness added a commit that referenced this pull request May 10, 2026
- Change debug=True to debug=False by default
- Add FLASK_DEBUG environment variable for development
- Show warning when debug mode is enabled
- Prevents arbitrary code execution via Werkzeug debugger
- Fixes GitHub Security Alert #2 (py/flask-debug)

Production deployments are now secure by default.
For development: export FLASK_DEBUG=1

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
TPTBusiness added a commit that referenced this pull request May 10, 2026
- Upgrade Werkzeug from 2.2.3 to 2.3.8 in WebShop requirements
- Translate all comments to English (project language policy)
- Add security note for CVE-2024-34069 (debugger vulnerability)
- Document mitigation: debug mode disabled in production

Security Notes:
- CVE-2024-34069 affects Werkzeug debugger (dev mode only)
- Flask 3.x required for full fix, but incompatible with WebShop
- Mitigation: Benchmark runs locally, never with debug=True in production
- This is the latest secure version compatible with Flask 2.x

Fixes Dependabot Alert #2 (GHSA-2g68-c3qc-8985)
TPTBusiness added a commit that referenced this pull request May 10, 2026
- Upgrade Werkzeug from 2.3.8 to 3.1.6 (fixes all Werkzeug CVEs)
- Upgrade Flask from 2.2.5 to 3.0.0+ (required for Werkzeug 3.x)
- Add CVE-2024-49766 (safe_join UNC path bypass) to security notes
- Update comments to reflect Flask 3.x compatibility

Fixed CVEs:
- CVE-2025-66221: Windows device names in safe_join()
- CVE-2024-49766: safe_join UNC path bypass on Windows
- CVE-2024-34069: Werkzeug debugger RCE
- CVE-2024-49767: Resource exhaustion via multipart/form-data

Fixes Dependabot Alerts #2, #3, #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants