Skip to content

werkzeug-3.0.6-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.3) #6326

Description

@mend-for-github-com
Vulnerable Library - werkzeug-3.0.6-py3-none-any.whl

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/6c/69/05837f91dfe42109203ffa3e488214ff86a6d68b2ed6c167da6cdc42349b/werkzeug-3.0.6-py3-none-any.whl

Path to dependency file: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260202145931_KJBBNX/python_LPUFWU/202602021459321/env/lib/python3.9/site-packages/werkzeug-3.0.6.dist-info

Found in HEAD commit: aff23afca7be6eb37ce42d1448e445bc8b72b853

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (werkzeug version) Remediation Possible**
CVE-2026-21860 Medium 5.3 werkzeug-3.0.6-py3-none-any.whl Direct 3.1.5 ✅
CVE-2025-66221 Medium 5.3 werkzeug-3.0.6-py3-none-any.whl Direct 3.1.4 ✅

**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.0.6-py3-none-any.whl

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/6c/69/05837f91dfe42109203ffa3e488214ff86a6d68b2ed6c167da6cdc42349b/werkzeug-3.0.6-py3-none-any.whl

Path to dependency file: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260202145931_KJBBNX/python_LPUFWU/202602021459321/env/lib/python3.9/site-packages/werkzeug-3.0.6.dist-info

Dependency Hierarchy:

  • ❌ werkzeug-3.0.6-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: aff23afca7be6eb37ce42d1448e445bc8b72b853

Found in base branch: main

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.

Suggested Fix

Type: Upgrade version

Origin: GHSA-87hc-h4r5-73f7

Release Date: 2026-01-08

Fix Resolution: 3.1.5

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2025-66221

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

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/6c/69/05837f91dfe42109203ffa3e488214ff86a6d68b2ed6c167da6cdc42349b/werkzeug-3.0.6-py3-none-any.whl

Path to dependency file: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260202145931_KJBBNX/python_LPUFWU/202602021459321/env/lib/python3.9/site-packages/werkzeug-3.0.6.dist-info

Dependency Hierarchy:

  • ❌ werkzeug-3.0.6-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: aff23afca7be6eb37ce42d1448e445bc8b72b853

Found in base branch: main

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: 3.1.4

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Activity

  1. added this to the v2.14 milestone on Dec 9, 2025
  2. moved this from Unplanned to To do in Data Prepper Tracking Boardon Dec 9, 2025
  3. changed the title [-]werkzeug-3.0.6-py3-none-any.whl: 1 vulnerabilities (highest severity is: 5.3)[/-] [+]werkzeug-3.0.6-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.3)[/+] on Jan 8, 2026
  4. added a commit that references this issue on Jan 27, 2026
    b1bdc35
  5. assigned and unassigned on Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions