fix: Update Werkzeug to 3.1.5 to fix CVE-2026-21860 and CVE-2025-66221#6433
Open
san81 wants to merge 2 commits intoopensearch-project:mainfrom
Open
fix: Update Werkzeug to 3.1.5 to fix CVE-2026-21860 and CVE-2025-66221#6433san81 wants to merge 2 commits intoopensearch-project:mainfrom
san81 wants to merge 2 commits intoopensearch-project:mainfrom
Conversation
Updates werkzeug from 3.0.6 to 3.1.5 in the trace analytics sample app to address two medium-severity security vulnerabilities related to the safe_join function allowing path segments with Windows device names. Resolves opensearch-project#6326
Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>
oeyh
approved these changes
Jan 28, 2026
dlvenable
approved these changes
Jan 28, 2026
dlvenable
requested changes
Jan 28, 2026
Member
dlvenable
left a comment
There was a problem hiding this comment.
The build is failing with:
#26 3.111 ERROR: Cannot install -r /app/requirements.txt (line 1) and werkzeug==3.1.5 because these package versions have conflicting dependencies.
#26 3.111
#26 3.111 The conflict is caused by:
#26 3.111 The user requested werkzeug==3.1.5
#26 3.111 dash 2.15.0 depends on Werkzeug<3.1
#26 3.111
#26 3.111 Additionally, some packages in these conflicts have no matching distributions available for your environment:
#26 3.111 werkzeug
#26 3.111
#26 3.111 To fix this you could try to:
#26 3.111 1. loosen the range of package versions you've specified
#26 3.111 2. remove package versions to allow pip to attempt to solve the dependency conflict
#26 3.111
#26 3.263 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
#26 ERROR: process "/bin/sh -c pip3 install -r /app/requirements.txt" did not complete successfully: exit code: 1
------
> [stage-2 8/12] RUN pip3 install -r /app/requirements.txt:
3.111 dash 2.15.0 depends on Werkzeug<3.1
3.111
3.111 Additionally, some packages in these conflicts have no matching distributions available for your environment:
3.111 werkzeug
3.111
3.111 To fix this you could try to:
3.111 1. loosen the range of package versions you've specified
3.111 2. remove package versions to allow pip to attempt to solve the dependency conflict
3.111
3.263 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates werkzeug from 3.0.6 to 3.1.5 in the trace analytics sample app to address two medium-severity security vulnerabilities related to the safe_join function allowing path segments with Windows device names.
Issues Resolved
Resolves #6326
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.