Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(deps): pin Werkzeug >=3.1.7 to prevent vulnerable transitive resolution (#44868)

xhdnoah178d7f0e4fd3
diff --git a/api/pyproject.toml b/api/pyproject.toml
index 6f0cef74169..85f820ef784 100644
--- a/api/pyproject.toml
+++ b/api/pyproject.toml
@@ -42,6 +42,7 @@ dependencies = [
"opentelemetry-propagator-b3>=1.45.0,<2.0.0",
"readabilipy==0.3.0",
"resend>=2.27.0,<3.0.0",
+ "werkzeug>=3.1.7,<4.0.0",
"zstandard==0.25.0",
# Emerging: newer and fast-moving, use compatible pins
"fastopenapi[flask]==0.7.0",
diff --git a/api/uv.lock b/api/uv.lock
index f3762a905cc..4cce98e4531 100644
--- a/api/uv.lock
+++ b/api/uv.lock
@@ -1440,6 +1440,7 @@ dependencies = [
{ name = "resend" },
{ name = "sendgrid" },
{ name = "sseclient-py" },
+ { name = "werkzeug" },
{ name = "zstandard" },
]
@@ -1730,6 +1731,7 @@ requires-dist = [
{ name = "resend", specifier = ">=2.27.0,<3.0.0" },
{ name = "sendgrid", specifier = ">=6.12.5,<7.0.0" },
{ name = "sseclient-py", specifier = ">=1.8.0,<2.0.0" },
+ { name = "werkzeug", specifier = ">=3.1.7,<4.0.0" },
{ name = "zstandard", specifier = "==0.25.0" },
]