Dify 1.19.0 remote API schema retrieval endpoint lacks TOOL_MANAGE permission check
Missing TOOL_MANAGE Permission Check on Remote API Schema Fetch Endpoint
Dify users reported that in version 1.19.0 (commit 8e689e8, Docker self-hosted deployment), the remote API schema preparation endpoint GET /console/api/workspaces/current/tool-provider/api/remote does not enforce the TOOL_MANAGE permission, and ordinary workspace members without that permission can also trigger server-side HTTP requests and obtain the remote OpenAPI schema, whereas the adjacent API Tool creation endpoint checks workspace role and TOOL_MANAGE. The reporter set up a mock server locally via the SSRF proxy configured in Dify, and called the endpoint with an Owner account and an ordinary Member account of the same workspace, each with session authentication and CSRF headers; both returned HTTP 200 and obtained the parsed OpenAPI schema, and the mock server recorded requests initiated by Dify.