opensearch-project / opensearch-project/data-prepper

flask-3.0.3-py3-none-any.whl: 1 vulnerabilities (highest severity is: 4.3)

Open Beginner friendly
#6,561 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Mend: dependency security vulnerability
Dominant language
Java
Stars
374
Forks
354
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Vulnerable Library - flask-3.0.3-py3-none-any.whl

A simple framework for building complex web applications.

Library home page: https://files.pythonhosted.org/packages/61/80/ffe1da13ad9300f87c93af113edd0638c75138c42a0994becfacac078c06/flask-3.0.3-py3-none-any.whl

Sample Path to Dependency File: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260919124000_VHQASD/python_DOUHFS/202609191240011/env/lib/python3.10/site-packages/flask-3.0.3.dist-info

Found in HEAD commit: aff23afca7be6eb37ce42d1448e445bc8b72b853

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (flask version) Remediation Possible**
CVE-2026-27205 Medium 4.3 flask-3.0.3-py3-none-any.whl Direct https://github.com/pallets/flask.git - 3.1.3

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-27205
Vulnerable Library - flask-3.0.3-py3-none-any.whl

A simple framework for building complex web applications.

Library home page: https://files.pythonhosted.org/packages/61/80/ffe1da13ad9300f87c93af113edd0638c75138c42a0994becfacac078c06/flask-3.0.3-py3-none-any.whl

Sample Path to Dependency File: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260919124000_VHQASD/python_DOUHFS/202609191240011/env/lib/python3.10/site-packages/flask-3.0.3.dist-info

Dependency Hierarchy:

  • flask-3.0.3-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: aff23afca7be6eb37ce42d1448e445bc8b72b853

Found in base branch: main

Vulnerability Details

Flask is a web server gateway interface (WSGI) web application framework. In versions 3.1.2 and below, when the session object is accessed, Flask should set the Vary: Cookie header., resulting in a Use of Cache Containing Sensitive Information vulnerability. The logic 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 and risk depend on the application being hosted behind a caching proxy that doesn't ignore responses with cookies, not setting a Cache-Control header to mark pages as private or non-cacheable, and accessing the session in a way that only touches keys without reading values or mutating the session. The issue has been fixed in version 3.1.3.

Publish Date: 2026-02-21

URL: CVE-2026-27205

CVSS 3 Score Details (4.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-02-21

Fix Resolution: https://github.com/pallets/flask.git - 3.1.3

⛑️ Automatic Remediation will be attempted for this issue.


:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/trace-analytics-sample-app/sample-app/requirements.txt, where the vulnerable direct Flask dependency is identified. Update Flask to 3.1.3 and verify that the sample application's dependencies install successfully. Done means the requirements file no longer selects Flask 3.0.3 and the vulnerability is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
backend, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
60/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.