Skip to content

H3-2026-1094

Dify Agent Backend Unauthenticated Control Plane Access

Category VULNERABILITY
Base Score 9.1

Description

Dify's Agent backend mounts its Execution Bindings, Home Snapshots, and Binding Files control-plane routers without the Bearer-token dependency that protects the /runs endpoint. Remote attackers can reach these control-plane routes directly without supplying the DIFY_AGENT_API_TOKEN value that the rest of the Agent backend requires. The affected routes allow creation, enumeration, and deletion of execution bindings, home snapshots, and binding files. The condition results from these routers being registered outside the shared APIRouter that applies the Bearer-token dependency to the rest of the Agent backend.

Impact

Remote attackers gain unauthorized access to Dify's Agent control plane resources. This allows creating, enumerating, and destroying execution bindings, home snapshots, and binding files without restriction. Agent workloads relying on these resources can be disrupted or have their configuration exposed. Deployments running the Agent backend without additional network isolation face direct resource tampering.

References