Skip to content

[SECURITY] Update dependency Werkzeug to v3.1.5#87

Open
specmatic-builder wants to merge 1 commit intomainfrom
renovate/pypi-werkzeug-vulnerability
Open

[SECURITY] Update dependency Werkzeug to v3.1.5#87
specmatic-builder wants to merge 1 commit intomainfrom
renovate/pypi-werkzeug-vulnerability

Conversation

@specmatic-builder
Copy link
Contributor

@specmatic-builder specmatic-builder commented Jan 9, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Werkzeug (changelog) ==3.1.4==3.1.5 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2026-21860

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 was previously reported as GHSA-hgf8-39gv-g3f2, but the fix failed to account for compound extensions such as CON.txt.html or trailing spaces. It also missed some additional special names.

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.


Release Notes

pallets/werkzeug (Werkzeug)

v3.1.5

Compare Source

Released 2026-01-08

  • safe_join on Windows does not allow more special device names, regardless
    of extension or surrounding spaces. :ghsa:87hc-h4r5-73f7
  • The multipart form parser handles a \r\n sequence at a chunk boundary.
    This fixes the previous attempt, which caused incorrect content lengths.
    :issue:3065 :issue:3077
  • Fix AttributeError when initializing DebuggedApplication with
    pin_security=False. :issue:3075

Configuration

📅 Schedule: Branch creation - "" (UTC), 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 has been generated by Renovate Bot. Specmatic specific configuration is managed here.

@specmatic-builder specmatic-builder force-pushed the renovate/pypi-werkzeug-vulnerability branch from acb0639 to 1b86e5f Compare January 13, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant