Skip to content

Update dependency flask to v3.1.1 [SECURITY]#648

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/pypi-flask-vulnerability
Open

Update dependency flask to v3.1.1 [SECURITY]#648
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/pypi-flask-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
flask (changelog) 3.1.03.1.1 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2025-47278

In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key.

Signing is provided by the itsdangerous library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first.

Sites that have opted-in to use key rotation by setting SECRET_KEY_FALLBACKS are likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss.


Release Notes

pallets/flask (flask)

v3.1.1

Compare Source

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

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the merge-queue merge on green CI label May 13, 2025
@renovate renovate bot requested a review from a team as a code owner May 13, 2025 23:20
@renovate renovate bot added the merge-queue merge on green CI label May 13, 2025
@renovate renovate bot force-pushed the renovate/pypi-flask-vulnerability branch from 5c310f4 to db4fc93 Compare August 10, 2025 13:15
@renovate renovate bot force-pushed the renovate/pypi-flask-vulnerability branch from db4fc93 to dbc5acc Compare August 19, 2025 19:49
@renovate renovate bot changed the title fix(deps): update dependency flask to v3.1.1 [security] chore(deps): update dependency flask to v3.1.1 [security] Sep 25, 2025
@renovate renovate bot force-pushed the renovate/pypi-flask-vulnerability branch from dbc5acc to 2df74ab Compare November 18, 2025 10:29
@renovate renovate bot changed the title chore(deps): update dependency flask to v3.1.1 [security] Update dependency flask to v3.1.1 [SECURITY] Dec 1, 2025
@renovate renovate bot force-pushed the renovate/pypi-flask-vulnerability branch from 2df74ab to 9f171dc Compare February 2, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-queue merge on green CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments