Skip to content

flask-3.1.2-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.3) #53

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - flask-3.1.2-py3-none-any.whl

Path to dependency file: /pip-chill-requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251126140837_YAOJPN/python_UBHLPJ/202511261409241/env/lib/python3.9/site-packages/werkzeug-3.1.3.dist-info

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (flask version) Remediation Possible**
CVE-2026-21860 Medium 5.3 werkzeug-3.1.3-py3-none-any.whl Transitive N/A*
CVE-2025-66221 Medium 5.3 werkzeug-3.1.3-py3-none-any.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2026-21860

Vulnerable Library - werkzeug-3.1.3-py3-none-any.whl

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/52/24/ab44c871b0f07f491e5d2ad12c9bd7358e527510618cb1b803a88e986db1/werkzeug-3.1.3-py3-none-any.whl

Path to dependency file: /pip-chill-requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251126140837_YAOJPN/python_UBHLPJ/202511261409241/env/lib/python3.9/site-packages/werkzeug-3.1.3.dist-info

Dependency Hierarchy:

  • flask-3.1.2-py3-none-any.whl (Root Library)
    • werkzeug-3.1.3-py3-none-any.whl (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. Windows still accepts them with any file extension, such as CON.txt, or trailing spaces such as CON. This issue has been patched in version 3.1.5.

Publish Date: 2026-01-08

URL: CVE-2026-21860

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

CVE-2025-66221

Vulnerable Library - werkzeug-3.1.3-py3-none-any.whl

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/52/24/ab44c871b0f07f491e5d2ad12c9bd7358e527510618cb1b803a88e986db1/werkzeug-3.1.3-py3-none-any.whl

Path to dependency file: /pip-chill-requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251126140837_YAOJPN/python_UBHLPJ/202511261409241/env/lib/python3.9/site-packages/werkzeug-3.1.3.dist-info

Dependency Hierarchy:

  • flask-3.1.2-py3-none-any.whl (Root Library)
    • werkzeug-3.1.3-py3-none-any.whl (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.4, Werkzeug's safe_join function allows path segments with Windows device names. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. send_from_directory uses safe_join to safely serve files at user-specified paths under a directory. If the application is running on Windows, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely. This issue has been patched in version 3.1.4.

Publish Date: 2025-11-29

URL: CVE-2025-66221

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-11-29

Fix Resolution: https://github.com/pallets/werkzeug.git - 3.1.4,werkzeug - 3.1.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions