Skip to content

Update dependency flask to v3.1.3 [SECURITY] - #71

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

Update dependency flask to v3.1.3 [SECURITY]#71
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pypi-flask-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
flask (changelog) ==3.1.2==3.1.3 age confidence

Flask session does not add Vary: Cookie header when accessed in some ways

CVE-2026-27205 / GHSA-68rp-wp8r-4726

More information

Details

When the session object is accessed, Flask should set the Vary: Cookie header. This instructs caches not to cache the response, as it may contain information specific to a logged in user. This is handled in most cases, but some forms of access such as the Python in operator were overlooked.

The severity depends on the application's use of the session, and the cache's behavior regarding cookies. The risk depends on all these conditions being met.

  1. The application must be hosted behind a caching proxy that does not ignore responses with cookies.
  2. The application does not set a Cache-Control header to indicate that a page is private or should not be cached.
  3. The application accesses the session in a way that does not access the values, only the keys, and does not mutate the session.

Severity

  • CVSS Score: 2.3 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

pallets/flask (flask)

v3.1.3

Compare Source

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 changed the title chore(deps): update dependency flask to v3.1.3 [security] chore(deps): update dependency flask to v3.1.3 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/pypi-flask-vulnerability branch March 27, 2026 15:45
@renovate renovate Bot changed the title chore(deps): update dependency flask to v3.1.3 [security] - autoclosed chore(deps): update dependency flask to v3.1.3 [security] Mar 31, 2026
@renovate renovate Bot reopened this Mar 31, 2026
@renovate
renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 2 times, most recently from fc9fd2c to 49808ab Compare March 31, 2026 12:05
@renovate renovate Bot changed the title chore(deps): update dependency flask to v3.1.3 [security] Update dependency flask to v3.1.3 [SECURITY] Apr 15, 2026
@renovate
renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch from 49808ab to 39323fb Compare May 18, 2026 14:05
@renovate
renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch from 39323fb to 57cb28a Compare July 18, 2026 19:41
@renovate
renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch from 57cb28a to c02941b Compare July 28, 2026 18:49
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.

0 participants