Skip to main content

Release v3.13.4

· 3 min read

What Changed

1
Deployment Updates
Security: Plugin gateway Nginx upgradeUpdates the Helm plugin gateway image from nginx:1.29.4-alpine to nginx:1.31.9-alpine. Dify Enterprise application image tags remain unchanged from 3.13.3.

Upgrade Guide

Pre-Upgrade Checklist
Review the v3.13.3 upgrade guide when upgrading from an earlier application release
Review rendered changes with helm diff or helm template before applying the upgrade
If plugin_connector.gatewayImage is overridden, update it to nginx:1.31.9-alpine or the equivalent image in your registry
Confirm that existing plugin runtime gateway containers use the updated Nginx image after the upgrade; replace affected plugin workloads if needed
Zero-downtime rolling upgrade supported
Upgrade Command

# Helm chart update; application images remain at 3.13.3

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.13.4

Rollback

$ helm rollback dify 0

This is a Helm chart update. Application images remain unchanged from v3.13.3. The Docker Compose download links to the unchanged v3.13.3 bundle; it does not apply this Helm-specific update.

See v3.13.3 for the existing benchmark and license reports and application upgrade requirements. The historical application-image security results below retain their original scan date and report links. They do not represent a new scan of this chart or its updated third-party Nginx image.

Details
Application-image security results inherited from v3.13.3

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 13 High CVE across all container images
ScannerDocker Scout
Scanned
Nov 18, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
VEX (Vulnerability Exploitability eXchange) documents record why the flagged CVEs are not exploitable in Dify Enterprise.

Reused benchmark results from v3.13.3; no new report was generated for this chart update.

Release v3.9.17

· 3 min read

What Changed

2
Deployment Updates
Security: Plugin gateway Nginx upgradeUpdates the Helm plugin gateway image from nginx:1.29.4-alpine to nginx:1.31.9-alpine. Dify Enterprise application image tags remain unchanged from 3.9.16.
Plugins: Predictable package index configurationDisables automatic PyPI mirror detection by default in Helm. Configure a package index explicitly when a mirror is required.

Upgrade Guide

Pre-Upgrade Checklist
Review the v3.9.16 upgrade guide when upgrading from an earlier application release
Review rendered changes with helm diff or helm template before applying the upgrade
If plugin_connector.gatewayImage is overridden, update it to nginx:1.31.9-alpine or the equivalent image in your registry
Confirm that existing plugin runtime gateway containers use the updated Nginx image after the upgrade; replace affected plugin workloads if needed
Configure the Plugin Daemon package index explicitly if plugin installation requires a PyPI mirror
Zero-downtime rolling upgrade supported
Upgrade Command

# Helm chart update; application images remain at 3.9.16

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.9.17

Rollback

$ helm rollback dify 0

This is a Helm chart update. Application images remain unchanged from v3.9.16. The Docker Compose download links to the unchanged v3.9.16 bundle; it does not apply this Helm-specific update.

See v3.9.16 for the existing benchmark and license reports and application upgrade requirements. The historical application-image security results below retain their original scan date and report links. They do not represent a new scan of this chart or its updated third-party Nginx image.

Details
Application-image security results inherited from v3.9.16

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 5 High CVE across all container images
ScannerDocker Scout
Scanned
Nov 11, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.

Reused benchmark results from v3.9.16; no new report was generated for this chart update.

Release v3.13.3

· 5 min read

What Changed

13
Bug Fixes
Plugins: Predictable package index configurationHelm and Docker Compose disable automatic PyPI mirror detection by default. Configure a package index explicitly when a mirror is required.
MCP: SSO identity token refreshRemoves an incompatible resource parameter from SSO token refresh requests used by MCP identity forwarding, and adds diagnostic logs for refresh failures.
Member groups: Large SCIM directoriesGroup management can count members across large numbers of synced groups without exceeding database parameter limits.
App permissions: Large workspacesMember role lookups in large workspaces no longer exceed the PostgreSQL parameter limit when loading app access candidates.
Invocation logs: Workspace selectionScrolling the workspace filter loads additional pages instead of stopping at the first 20 workspaces.
App deployment: Provider detectionDeployment prechecks recognize installed model and tool providers whose declared provider name differs from the plugin name.
Model credentials: Plugin defaultsCentrally managed model credentials retain values returned during plugin validation, including model context settings.
Plugins: Uninstall cleanupUninstalling a plugin version attempts to remove all of its Kubernetes instances even if one deletion fails; already deleted instances no longer interrupt cleanup.
Chat: Streaming thinking displayThinking blocks remain open and continue timing while reasoning is streaming, instead of immediately showing a completed 0.0-second thought.
Agent: Plugin file size validationOversized file lengths declared by plugins are rejected before allocating the file buffer, avoiding excessive memory allocation.
Qdrant: Dataset isolation during deletionDeleting document IDs from a shared Qdrant collection preserves matching records belonging to other datasets.
Storage cleanup: Knowledge attachmentsOrphaned-file cleanup preserves attachments still referenced by knowledge segments, and file usage reports include these references.
Security Notes
Security: Remaining scanner findingsRaw scanner findings remain visible below. The linked OpenVEX report documents specific pip-vendored msgpack and setuptools findings; it does not cover all remaining vulnerabilities.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Review the Agent permission migration requirements in the 3.13.1 release notes when upgrading from earlier releases
Review rendered manifest changes with helm diff or helm template before applying the upgrade
Configure the Plugin Daemon package index explicitly if plugin installation requires a PyPI mirror
Confirm Kubernetes cluster has sufficient resources for rolling update
Zero-downtime rolling upgrade supported
Upgrade Command

# Back up database first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.13.3

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 13 High CVE across all container images
ScannerDocker Scout
Scanned
Nov 18, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
VEX (Vulnerability Exploitability eXchange) documents record why the flagged CVEs are not exploitable in Dify Enterprise.
TTFE – Time To First Event (ms)
AVG
190.25
MIN
139
MAX
506
P50
153.5
P90
228
P95
498.4
Connections
Max Concurrent
13
Avg Active
12.9
Empty Workflow QPS
Max QPS
10.38
Avg QPS
10
Avg Duration (ms)
339.47

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.9.16

· 5 min read

What Changed

9
Bug Fixes
File input defaults across app executionConfigured file and file-list defaults are now applied when inputs are omitted, including shared apps and workflow execution. Explicitly cleared inputs remain cleared.
Plugin credentials returned during validationCredentials added or refreshed by a plugin during validation are now retained instead of being discarded, fixing inconsistent model context defaults between workspace credentials and credentials assigned by an administrator.
Plugin builds with IAM and custom S3 endpointsKaniko plugin builds now scope custom endpoints to S3 when using AWS IAM, preventing STS credential requests from being sent to the S3 endpoint.
Web app conversations and attachmentsSwitching a web app access mode no longer reuses a conversation saved under a different end user, avoiding Conversation Not Exists errors. Starting a new conversation also clears previous attachment inputs.
Knowledge document downloads after pipeline conversionDownloads are restored for uploaded documents converted to knowledge pipelines and pipeline local files with valid file references. SharePoint and OneDrive pipeline imports no longer fail because online_drive is rejected as an unsupported source type.
JSON schema input validationObject input schemas can now be supplied as JSON strings as well as parsed objects, avoiding validation errors for schemas saved by the editor.
Security Notes
Security: API and frontend dependenciesUpdates include OAuthlib 4.0.1, LiteLLM 1.100.4 and Next.js 16.4.5 in both frontends, alongside additional Python dependency updates.
Security: Enterprise, plugin daemon and sandbox dependenciesUpdates networking, compression and JOSE dependencies, including golang.org/x/net 0.62.0. Plugin daemon dependencies include brotli 1.2.7 and klauspost/compress 1.20.2; the sandbox runtime moves from Node.js 20 to 24.22.1.
Security: Remaining scanner findingsExcluding the optional api-insecure image, the scan reports 0 Critical and 5 High findings, all for CVE-2025-47273. The attached pip-vendored OpenVEX statement marks this finding not affected. Raw scanner findings are retained; api-insecure separately reports 16 Critical and 54 High findings.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Confirm Kubernetes cluster has sufficient resources for rolling update
Review integration exclusions and the security report if using the optional api-insecure image
Render and review the Helm manifest changes before upgrading
Zero-downtime rolling upgrade supported
Upgrade Command

# Back up database first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.9.16

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 5 High CVE across all container images
ScannerDocker Scout
Scanned
Nov 11, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
TTFE – Time To First Event (ms)
AVG
170.86
MIN
134
MAX
370
P50
152
P90
204
P95
262
Connections
Max Concurrent
12
Avg Active
11.8
Empty Workflow QPS
Max QPS
11.39
Avg QPS
11
Avg Duration (ms)
190.43

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.13.2

· 4 min read

What Changed

7
Improvements
Bug Fixes
Apps and datasets: Visibility and ownershipApp maintainers can see the apps they maintain, editors can see newly created apps, and dataset lists include owned datasets.
Agent: Permission editing and Redis 6.0 event replayAgent owners can edit their Agents. Agent event replay now works with Redis 6.0.
Marketplace: Template links and Qwen Flash model selectionThe home template link respects the Marketplace setting. Agent model selection supports current Qwen flash models.
Prompt editor: Variable search highlightingVariable search highlighting escapes matched text in the prompt editor.
Security Notes
Security: Dependency updatesUpdates API LiteLLM to 1.100.4 and patches API, Agent, gateway and app-runner dependencies. Enterprise Frontend updates Next.js to 16.4.1.
Security: Remaining scanner findingsRaw scanner findings remain visible below. The linked OpenVEX report documents pip-vendored msgpack and setuptools findings; it does not cover all remaining vulnerabilities.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Review the Agent permission migration requirements in the 3.13.1 release notes when upgrading from earlier releases
Review rendered manifest changes with helm diff or helm template before applying the upgrade
Confirm Kubernetes cluster has sufficient resources for rolling update
Zero-downtime rolling upgrade supported
Upgrade Command

# Back up database first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.13.2

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 19 High CVE across all container images
ScannerDocker Scout
Scanned
Oct 30, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
VEX (Vulnerability Exploitability eXchange) documents record why the flagged CVEs are not exploitable in Dify Enterprise.
TTFE – Time To First Event (ms)
AVG
165.95
MIN
132
MAX
219
P50
159
P90
204
P95
214
Connections
Max Concurrent
13
Avg Active
13
Empty Workflow QPS
Max QPS
10.79
Avg QPS
10
Avg Duration (ms)
362.88

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.9.15

· 5 min read

What Changed

11
New Features
Bug Fixes
More reliable plugin installation and dispatchPlugin installation now verifies that the declaration is available before committing. Serverless upgrades ensure the runtime is ready before changing installation records, and dispatch honors the exact requested plugin identifier while reusing installation caches.
Webhook and endpoint stream reliabilityWebhook plugins can finish reverse calls after the HTTP client disconnects, within the execution deadline. Failed endpoint streams are interrupted rather than appending internal error text to the response.
Plugin dependency cache and generated configurationLocal plugin dependency setup supports a container-local uv cache to avoid permission failures on mounted directories. Generated Python plugin configuration preserves characters that were previously HTML-escaped.
Security Notes
Web and Enterprise Frontend dependency updatesBoth frontends now use Next.js 16.4.1 in place of 16.3.8.
API Python dependency updatesUpdates include NLTK 3.10.4, Werkzeug 3.1.9, Mako 1.4.2, OAuthlib 4.0.0, multidict 6.9.1, aiohttp 3.14.4 and LiteLLM 1.89.7, along with certifi, Pillow, Flask-related packages, storage SDKs, graphql-core, GitPython and the B3 telemetry propagator. The API image installs setuptools 83.0.0.
Enterprise, plugin daemon and sandbox dependency updatesThe pinned sources update networking and telemetry dependencies, including golang.org/x/net 0.60.0. Enterprise OpenTelemetry log components move to 0.21.0. The plugin daemon requires Go 1.26.10. Local plugin daemon and Python plugin build base images now use uv 0.13.5.
Remaining setuptools scanner findingCVE-2025-47273 is still reported against setuptools 70.3.0 in the sandbox, local plugin daemon and Python plugin build base images. The release includes a pip-vendored OpenVEX statement marking this finding not affected because the vulnerable setuptools code is absent from the vendored subset. Raw scanner findings remain visible below.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Confirm Kubernetes cluster has sufficient resources for rolling update
Review the manifest changes before applying: helm diff upgrade dify dify-ee/dify --version 3.9.15 -f values.yaml (helm-diff plugin), or render with helm template dify dify-ee/dify --version 3.9.15 -f values.yaml and compare it against helm get manifest dify
Zero-downtime rolling upgrade supported
Upgrade Command

# Back up the database and review the manifest diff first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.9.15

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 5 High CVE across all container images
ScannerDocker Scout
Scanned
Oct 23, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
VEX (Vulnerability Exploitability eXchange) documents record why the flagged CVEs are not exploitable in Dify Enterprise.
TTFE – Time To First Event (ms)
AVG
131.14
MIN
106
MAX
442
P50
115
P90
125
P95
128
Connections
Max Concurrent
15
Avg Active
14.9
Empty Workflow QPS
Max QPS
11.49
Avg QPS
10.98
Avg Duration (ms)
224.7

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.13.1

· 7 min read

What Changed

14
New Features
Bug Fixes
Multi-Environment Deployment: Deployments Stop Updating Above 50 per RunnerFixed an issue where an app runner assigned more than 50 deployments rejected all of them and stopped updating every deployment it served. The per-runner limit is removed.
Multi-Environment Deployment: Workflow Runs Stopped After 20 MinutesFixed an issue where every workflow run on an app runner was stopped after 20 minutes, regardless of the configured execution time limit. Runs now follow the limit set on the Enterprise service, and the step limit follows WORKFLOW_MAX_EXECUTION_STEPS (default 500).
RBAC: Agent Permission Migration Fails with 409Fixed an issue where flask rbac-migrate-agent-permissions --apply stopped with 409 RBAC_ACCESS_POLICY_BINDING_LOCKED when upgrading to 3.13.0. The migration now skips workspace owners and admins, whose permissions are locked and need no migration.
Annotation Reply with QdrantFixed an issue where enabling Annotation Reply failed with "Dataset Collection Bindings does not exist!" on deployments using the Qdrant vector store, so annotation replies could not be turned on.
Explore: Installed Apps List on MySQLFixed an issue where the installed apps list in Explore failed with an internal error on deployments using an external MySQL database.
Plugins: Marketplace Details Refused to ConnectFixed an issue where opening plugin or template details from the Marketplace showed "marketplace.dify.ai refused to connect". Details now open in a new browser tab.
Plugins: Plugin Install Fails with IAM Role on S3Fixed an issue where installing a plugin failed on AWS deployments that use an IAM role for S3 when persistence.s3.endpoint was set. The plugin build job sent its credential request to the S3 endpoint instead of AWS STS. The custom endpoint now applies only to S3.
Plugins: Plugin Manager Ignores a Changed PLUGIN_DAEMON_KEY (Docker Compose)Fixed an issue where changing PLUGIN_DAEMON_KEY in .env broke calls from the plugin manager to the plugin daemon. The plugin manager now uses the same key as the daemon.
Integrations: Notion Internal Integration Fails to Connect (Helm)Fixed an issue where connecting Notion failed on Helm deployments using the default internal integration type. The chart now passes global.integrations.notion.integrationType to the API and worker, so the configured type takes effect.
Plugins: OAuth Client Configuration Form LayoutFixed a layout issue where the OAuth client information card in the plugin OAuth configuration form did not span the full width of the form.
Agent: Custom Icon on the Configuration PageFixed an issue where a custom uploaded Agent icon showed on the Agent list but did not load on the Agent configuration page.
Security: Next.js and sharp UpgradesUpgraded Next.js to 16.4.1 in the Dify web app and to 16.3.8 in the enterprise dashboard, and sharp to 0.35.5 in the enterprise dashboard. This addresses advisories including remote code execution in Open Graph image rendering, SSRF in image optimization, cache poisoning, and a heap overflow in image decoding. See the Security & CVE section below.
Security: Go Toolchain and Dependency UpgradesRebuilt all Go services with Go 1.26.9 and upgraded golang.org/x/net to 0.60.0, which fixes critical and high-severity Go standard library and HTTP/2 vulnerabilities. Upgraded PyJWT to 2.15.0 (fixes a critical vulnerability), along with pypdf, urllib3, Werkzeug, LiteLLM, Mako, oauthlib, multidict, fsspec and soupsieve in the API, and fflate in the web app. See the Security & CVE section below.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Confirm Kubernetes cluster has sufficient resources for rolling update
If your deployment uses ChromaDB, review the known vulnerabilities before selecting the dify-ee-api-insecure:3.13.1 image
If upgrading from a version earlier than 3.13.0, upgrade directly to 3.13.1 (do not stop at 3.13.0)
If you use global.customCA, create the CA Secret in the plugin runtime namespace too. If plugin_controller.installCrd is false, apply the updated DifyPlugin CRD before upgrading
Schedule a maintenance window; after upgrading, run flask rbac-migrate-agent-permissions (dry run by default), then rerun with --apply. Follow the steps in the 3.13.0 release notes. If you are on 3.13.0, run it again here; skip it if it already completed on a 3.13.0 hotfix image
Review the manifest changes before applying: helm diff upgrade dify dify-ee/dify --version 3.13.1 -f values.yaml (helm-diff plugin), or render with helm template dify dify-ee/dify --version 3.13.1 -f values.yaml and compare it against helm get manifest dify
Upgrade Command

# Back up the database and review the manifest diff first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.13.1

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.24 Critical · 73 High CVE across all container images
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
TTFE – Time To First Event (ms)
AVG
186.58
MIN
163
MAX
210
P50
186.5
P90
201.8
P95
206.15
Connections
Max Concurrent
1
Avg Active
1
Empty Workflow QPS
Max QPS
12.6
Avg QPS
11.97
Avg Duration (ms)
198.09

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.9.14

· 6 min read

What Changed

8
New Features
Bug Fixes
Security: Next.js 16.3.8 and sharp 0.35.5 in the Web and Enterprise Frontend imagesBoth the community Web image and the Enterprise Frontend image now build on Next.js 16.3.8 and sharp 0.35.5. This fixes a critical remote-code-execution advisory in next/og ImageResponse (attacker-controlled SVG content), an SSRF in Image Optimization via allow-listed remote URLs, several use cache / ISR cache-poisoning and origin-validation issues, and a heap overflow in the libheif library bundled with sharp.
Security: Python dependency updates in the API imagePicked up the dependency fixes landed on the community lts/1.13.x branch: urllib3 2.7.0 → 2.8.0, pypdf 6.16.1 → 6.19.0, fsspec 2025.10.0 → 2026.6.0, a 9-package group bump (including pyjwt 2.15.1, starlette 1.7.0, sentry-sdk 2.71.0, markdown 3.11 and unstructured), and a 10-package bump of the storage SDKs (boto3, azure-identity, azure-storage-blob, google-cloud-storage, opendal, supabase, tos, cos, bce and OBS).
Security Notes
Security: build tooling removed from the API, sandbox, Web and Enterprise Frontend runtime imagesThe runtime stage of these images now starts from a minimal Wolfi base and installs only what the service needs at runtime. uv, npm / pnpm / corepack / yarn, git and the base image's system pip no longer ship in the API, API-insecure, Web and Enterprise Frontend images, and uv / git no longer ship in the sandbox (which keeps pip and a C toolchain so Python dependencies can still be installed, including from source). The images are also substantially smaller. This removes every finding that came from those tools, including http-cache-semantics (CVE-2026-93748) in the Web and Enterprise Frontend images and the uv-bundled crates in the API and sandbox images. The Web and Enterprise Frontend images now report no known vulnerabilities.
Security: pip SBOM false positives on the plugin images (urllib3, msgpack)CVE-2026-97687 / 97689 (urllib3 2.7.0), CVE-2026-57585 and GHSA-6v7p-g79w-8964 (msgpack 1.1.2) are reported against the plugin daemon (local) and plugin build base images. The scanner reads a stale SBOM (pip/_vendor/bom.cdx.json) shipped in Chainguard's py3.x-pip-26.2.1-r2 package. The vendored code actually shipped is urllib3 2.8.0 and msgpack 1.2.1. Chainguard has since published py3.x-pip-26.2.1-r3 with a corrected SBOM. The sandbox image already uses it, so these findings are gone there, and the plugin images will pick it up in a follow-up release. Until then, these advisories are covered by pip-vendored.openvex.json.
Security: setuptools finding is not exploitableCVE-2025-47273 (path traversal in setuptools 70.3.0) is reported against the sandbox, plugin daemon (local) and plugin build base images, also from the pip SBOM. pip only vendors pkg_resources, so setuptools.package_index, where the issue lives, is not present in the image. This is covered by pip-vendored.openvex.json.
Security: block-buffer bundled in uv on the plugin images is not exploitableThe plugin daemon (local) and plugin build base images still need uv at runtime to install plugin dependencies (Wolfi package uv-0.12.24-r0). The block-buffer 0.10.4 statement (sonatype-2026-003895, GHSA-qwgh-2vcv-g2f7) is kept for these images: uv is built with panic = "abort", so the caught-panic precondition of the advisory cannot occur. This is covered by uv-vendored.openvex.json.
Security: advisories without an upstream fixCVE-2026-81726 (path traversal in nltk ≤ 3.10.3) still has no fixed release upstream and is still reported against the API image. It will be picked up as soon as a fixed release is available.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Confirm Kubernetes cluster has sufficient resources for rolling update
Review the manifest changes before applying: helm diff upgrade dify dify-ee/dify --version 3.9.14 -f values.yaml (helm-diff plugin), or render with helm template dify dify-ee/dify --version 3.9.14 -f values.yaml and compare it against helm get manifest dify
Zero-downtime rolling upgrade supported
Upgrade Command

# Back up the database and review the manifest diff first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.9.14

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.11 Critical · 66 High CVE across all container images
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
TTFE – Time To First Event (ms)
AVG
161.1
MIN
128
MAX
548
P50
148
P90
174
P95
189
Connections
Max Concurrent
18
Avg Active
17.27
Empty Workflow QPS
Max QPS
38
Avg QPS
36.1
Avg Duration (ms)
178.54

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.13.0

· 9 min read

What Changed

28
New Features
Improvements
RBAC: Granular Agent PermissionsThe single workspace-level agent.manage permission is replaced by agent.create and per-Agent permissions for previewing, editing, testing and running, releasing and managing versions, viewing and managing access points, viewing and managing logs, monitoring, configuring access, importing and exporting DSL, and deleting Agents.
Helm: Per-Site Gateway Response HeadersSupports customizing Gateway HTTP response headers per site via Helm while preserving default header behavior.
Bug Fixes
Admin API RBAC Binding SyncFixed an issue where RBAC permission bindings were not updated when adding or removing workspace members via the Admin API.
Knowledge Base Permission Check 403 ErrorsFixed an issue where 403 errors were incorrectly triggered by legacy permission checks even when knowledge base access was granted.
Workspace Owner Transfer Role SyncFixed an issue where the previous owner role processing and enterprise dashboard display became out of sync after transferring workspace ownership.
SSO Outbound Request Proxy ConfigurationFixed an issue where outbound requests initiated by SSO ignored HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables.
Open in Explore for SSO-Restricted AppsThe Open in Explore action is now hidden for apps restricted to authenticated external users. Previously, this action failed with a misleading "App is not yet published" message.
Web App SAML Authentication Callback RedirectionFixed an issue where completing SAML authentication callbacks in web applications incorrectly redirected users to the console.
SSO: Admin Login with Expired LicensesFixed an issue where expired licenses or exceeded seat limits blocked enterprise dashboard SSO logins, preventing administrators from accessing the system for activation.
Imported Workflow Persistence After PublishingFixed an issue where refreshing the page after successfully publishing an imported workflow caused the workflow to disappear.
Human Input Test Email Modal StatusFixed an issue where opening the test email modal a second time in Human Input nodes falsely displayed the email as sent when it was not.
Prompt Generator: Model Parameter ConfigurationFixed an issue where the prompt generator ignored user-configured model parameters, causing execution errors when using models such as Qwen.
Agent: Duplicate Tool ResultsFixed an issue where tools returning both JSON and text formats caused Agents to receive duplicate results.
User Feedback and Prompt Generation MetricsFixed an issue where metrics related to user feedback and prompt generation were missing from monitoring telemetry.
Workflow Node Execution Metrics and TracingFixed an issue where workflow node execution metrics and trace tracking data were missing.
Unconfigured Tracing Provider HandlingFixed an issue where querying unconfigured providers returned 500 errors when optional tracing SDKs were missing.
Plugin Pod Graceful TerminationFixed an issue where plugin Pods failed to terminate gracefully during shutdown.
Invalid UUID Parameter Response CodeFixed an issue where passing invalid UUID parameters returned a 500 internal server error code instead of 400 bad request.
Pre-installed spaCy Model for Offline Email ExtractionFixed an issue where MSG/email parsing failed in offline environments due to a missing spaCy English model by pre-installing the model in the container image.
Application Deletion Audit LogsFixed an issue where audit log entries were missing during application deletion due to incomplete or missing resource associations.
Helm: Squid Startup Out-of-Memory ErrorsFixed an issue where Squid crashed with out-of-memory errors on startup when host file descriptor limits were set too high, resolved by capping file descriptors via Helm.
Security Notes
Security: setuptools / msgpack CVEs do not affect runtimeThe setuptools and msgpack CVEs flagged by this release's scanner are introduced by dependencies vendored inside the base image's system pip (pip/_vendor). They are not installed in the application virtualenv nor imported by the runtime (which uses uv-managed venvs), so they are not exploitable. The assessment covers four advisories (CVE-2026-57585, GHSA-6v7p-g79w-8964, CVE-2025-47273, CVE-2026-59890); see the VEX (Vulnerability Exploitability eXchange) document linked in the Security & CVE section for the full details.
Security: nltk path-traversal advisory has no upstream fixCVE-2026-81726 (path traversal in nltk ≤ 3.10.3) is still reported against the API image and has no fixed release upstream. It is the only high-severity finding in the default dify-ee-api image that is not covered by the VEX document; we are tracking the upstream fix and will ship it as soon as one is published.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
If your deployment uses ChromaDB, review the known vulnerabilities before selecting the dify-ee-api-insecure:3.13.0 image
Confirm Kubernetes cluster has sufficient resources for rolling update
Schedule a maintenance window; after upgrading, run flask rbac-migrate-agent-permissions (dry run by default), then rerun with --apply (see Migration Notes)
Review the migration requirements of earlier releases when upgrading across multiple versions
Upgrade Command

# Back up database first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.13.0

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 28 High CVE across all container images
ScannerDocker Scout
Scanned
Sep 29, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
VEX (Vulnerability Exploitability eXchange) documents record why the flagged CVEs are not exploitable in Dify Enterprise.
TTFE – Time To First Event (ms)
AVG
412.64
MIN
242
MAX
1441
P50
271
P90
701.1
P95
966.5
Connections
Max Concurrent
3
Avg Active
2.9
Empty Workflow QPS
Max QPS
19.6
Avg QPS
17.63
Avg Duration (ms)
590.45

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0

Release v3.9.13

· 5 min read

What Changed

6
Bug Fixes
Security: Python dependency updates in the API imagePicked up the dependency fixes landed on the community lts/1.13.x branch: anyio 4.11.0 → 4.14.2, which clears the critical improper-certificate-validation advisory (CVE-2026-63374) and the unbounded process-pool stderr allocation (CVE-2026-64847); gitpython 3.1.59 → 3.1.62 (CVE-2026-87817 / 87818 / 87819); pypdf 6.15.0 → 6.16.1 (CVE-2026-84309 / 84310 / 84311); soupsieve 2.8.4 → 2.9 (CVE-2026-85999 / 86000); pygments 2.19.2 → 2.20.0; plus a 15-package group bump covering starlette, sentry-sdk, unstructured, numpy, pandas, gevent, pyjwt, yarl, charset-normalizer and others. The default dify-ee-api image now scans with zero critical findings.
Security: Next.js upgraded to 16.3.6 in the Web imageThe community Web image now builds on Next.js 16.3.6 (up from 16.3.4), keeping the LTS line on the current patched framework release. No configuration change is required.
Security: OS-level CVEs cleared by a base-image refreshAll images were rebuilt on refreshed Chainguard base layers, which picks up the fixed zlib (CVE-2026-85091), node-gyp (CVE-2026-84890 / 84933 / 84961), wget (CVE-2026-16599) and glibc (CVE-2026-18374) packages. The Enterprise, Gateway, Audit, Collector, Enterprise Frontend, Web, Plugin Manager, Connector, Controller, Shader and Plugin Daemon images now report no critical and no high findings.
Security Notes
Release scope: dependency and base-image updates onlyThis is a security-maintenance release. The Enterprise services (0.16.x), Enterprise Frontend, plugin daemon and sandbox are built from the same source commits as 3.9.12 — only the community application (lts/1.13.x) moved forward, and only for dependency upgrades. There are no functional changes, no database migrations and no configuration changes in this release.
Security: setuptools / msgpack CVEs do not affect runtimeThe setuptools and msgpack CVEs flagged by this release's scanner are introduced by dependencies vendored inside the base image's system pip (pip/_vendor). They are not installed in the application virtualenv nor imported by the runtime (which uses uv-managed venvs), so they are not exploitable. The assessment is unchanged from 3.9.12 and covers the same three advisories; see the VEX (Vulnerability Exploitability eXchange) document linked in the Security & CVE section for the full details.
Security: nltk path-traversal advisory has no upstream fixCVE-2026-81726 (path traversal in nltk ≤ 3.10.3) is still reported against the API image and has no fixed release upstream. It is the only high-severity finding in the default dify-ee-api image that is not covered by the VEX document; we are tracking the upstream fix and will ship it as soon as one is published.

Upgrade Guide

Pre-Upgrade Checklist
Back up PostgreSQL database and Redis data
Confirm Kubernetes cluster has sufficient resources for rolling update
Review the manifest changes before applying: helm diff upgrade dify dify-ee/dify --version 3.9.13 -f values.yaml (helm-diff plugin), or render with helm template dify dify-ee/dify --version 3.9.13 -f values.yaml and compare it against helm get manifest dify
Zero-downtime rolling upgrade supported
Upgrade Command

# Back up the database and review the manifest diff first, then:

$ helm upgrade -i dify -f values.yaml dify-ee/dify --version 3.9.13

Rollback

$ helm rollback dify 0

Security & CVE

Full CVE report →
Security vulnerabilities found in this release.0 Critical · 19 High CVE across all container images
ScannerDocker Scout
Scanned
Sep 23, 2026
Data Source
Docker
CVEs for the opt-in api-insecure image is excluded from the CVE table above.
TTFE – Time To First Event (ms)
AVG
161.19
MIN
127
MAX
519
P50
145
P90
159
P95
164.8
Connections
Max Concurrent
11
Avg Active
9.8
Empty Workflow QPS
Max QPS
28
Avg QPS
26.85
Avg Duration (ms)
408.15

License Compliance

Full license report →
All dependencies compliant - no copyleft issues detected
Apache-2.0MITBSD-3-ClauseMPL-2.0BSD-2-ClauseISCCC0-1.0
© 2026 Dify All rights reserved.Enterprise release information is confidential. Do not distribute externally.