Skip to content

chore(deps): update dependency flask to v3.1.3 [security]#931

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

chore(deps): update dependency flask to v3.1.3 [security]#931
renovate[bot] wants to merge 1 commit intomainfrom
renovate/pypi-flask-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 24, 2026

This PR contains the following updates:

Package Change Age Confidence
flask (changelog) 3.1.23.1.3 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


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
    • ""
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR is behind base branch, 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.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.21%. Comparing base (426436e) to head (8bed836).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #931   +/-   ##
=======================================
  Coverage   77.21%   77.21%           
=======================================
  Files         116      116           
  Lines       12065    12065           
  Branches      996      996           
=======================================
  Hits         9316     9316           
  Misses       2520     2520           
  Partials      229      229           
Flag Coverage Δ *Carryforward flag
agent 75.78% <ø> (ø) Carriedforward from 426436e
cli 91.80% <ø> (ø) Carriedforward from 426436e
device 63.34% <ø> (ø) Carriedforward from 426436e
server 86.92% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
Agent 75.78% <ø> (ø)
CLI 91.80% <ø> (ø)
Common ∅ <ø> (∅)
Device Connectors 63.34% <ø> (ø)
Server 86.92% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 11 times, most recently from d05c572 to 7d942a7 Compare March 4, 2026 07:56
@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 8 times, most recently from 42c41a9 to 5007157 Compare March 6, 2026 20:22
@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 6 times, most recently from 79671ca to cd99243 Compare March 17, 2026 14:58
@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 01:29
@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 30, 2026
@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 7 times, most recently from 91f6bf4 to ba42184 Compare April 8, 2026 08:07
@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 9 times, most recently from a84dc20 to a6c0482 Compare April 14, 2026 18:31
@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch 12 times, most recently from bb748e4 to d18c52f Compare April 21, 2026 15:25
@renovate renovate Bot force-pushed the renovate/pypi-flask-vulnerability branch from d18c52f to 8bed836 Compare April 22, 2026 22:56
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