Summary
Dokploy network procedures rely on authentication but do not consistently check whether a member has permission to manage Docker resources. An authenticated standard member may be able to alter or delete networks, disrupting service connectivity; some operations may also target a server whose identifier is not checked.
Affected context
The issue affects Dokploy deployments where network management procedures are accessible to authenticated members without a separate Docker permission check. The affected operations include listing, inspecting, creating, importing, recreating, resynchronizing, and deleting Docker networks. Create and import operations may also accept an unchecked server identifier.
Exploit preconditions
- Attack surface: Dokploy network management procedures
- Required access: An authenticated account with standard member access
- Trigger point: Invoking a network procedure without the required Docker permission
- Why exploitation is possible: The procedures check authentication but omit authorization checks for Docker network operations; create and import operations may not validate the target server identifier
Why this happens
The underlying issue is a missing authorization check, mapped to CWE-862: Missing Authorization. The procedures establish that a user is authenticated but do not verify that the user is permitted to perform the requested Docker network action or, where relevant, act on the selected server. This leaves privileged operations available to accounts with insufficient permissions.
Potential impact
- A member may disrupt service connectivity by changing or deleting Docker networks.
- Network configuration may be altered without the required privileges.
- Operations may affect a server selected through an unchecked identifier.
- Changes to network state could cause application availability or isolation problems.
General mitigation guidance
Defensive patterns include enforcing authorization at the point each sensitive operation is performed, rather than relying on authentication alone. Check both the user's permission for the requested action and their access to the target server or resource. Apply least-privilege defaults, validate resource identifiers against the user's authorized scope, and deny access when authorization context is missing or ambiguous.
How teams detect issues like this
- Review network procedures for authorization checks beyond authentication, including checks on the specific action and target server.
- Use static analysis or code review rules to flag sensitive operations reachable without permission checks.
- Monitor audit logs for network changes initiated by standard members or affecting unexpected servers.
- Enforce policy tests that verify unauthorized users cannot invoke privileged network operations.

