Port 2375 (Docker API) is targeted because an unauthenticated Docker daemon can expose full host control. Attackers scan for open APIs, then create containers, mount filesystems, steal secrets, or pivot into the host. Defenders should avoid exposing the API on untrusted networks, require strong access control, and monitor for unexpected daemon access.
Why Port 2375 Draws Scanners and Botnets
Port 2375 is attractive because it often exposes the Docker daemon over the network without transport security or daemon authentication. That turns the API into a high-value remote control point: if an attacker can reach it, they can usually issue Docker commands with host-level consequences, not just manipulate a single container.
That is why exposed docker api are routinely treated as an internet-facing foothold, especially when the daemon is reachable from broad networks instead of a tightly controlled admin segment. The practical question is not whether the service is “running,” but whether it is reachable by anyone who should not be able to create, stop, inspect, or bind containers on the host.
Container exposure patterns are covered in Container Security Guide, which is the right starting point when the issue is Docker daemon hardening rather than a single application flaw.
What Attackers Typically Do After Finding an Open Docker API
Once attackers find an exposed Docker API, they usually move quickly from discovery to execution. Common abuse patterns include launching a new container with elevated privileges, mounting host paths into that container, reading files from the underlying system, and harvesting secrets from environment variables, mounted volumes, or local credential stores.
That same access path can also be used for persistence and lateral movement. An attacker may start a container that survives simple service restarts, use the host filesystem to collect SSH material or cloud credentials, and then pivot into adjacent systems if the host participates in a larger environment.
This abuse pattern is not theoretical, as TeamTNT worm 2020 shows how exposed Docker APIs can be used as a launch point for credential theft and host compromise, while Carbonato botnet 2026 illustrates how exposed Docker hosts can be turned into secret-harvesting infrastructure.
How to Reduce Exposure Without Breaking Operations
The safest posture is to keep the Docker API off untrusted networks and to require strong, explicit access control wherever remote daemon access is truly necessary. In practice, that means limiting who can talk to the daemon, using secure transport, and treating Docker API access as privileged infrastructure access rather than a convenience port.
Monitoring also matters because an exposed daemon is often discovered and touched very quickly. Watch for unexpected Docker API requests, new container creation from unusual source addresses, privilege-escalated launches, host mounts, and sudden changes in daemon activity that do not align with deployment workflows.
For broader port hygiene, the Network Ports and Protocols Security Guide is useful for deciding which services belong on which networks, while Massive Docker Hub Secrets Leak is a useful reminder that container exposure and secret exposure often travel together.
Risk and Threat Considerations
Exposed Docker APIs create a direct control-plane risk because the attacker is not attacking the container alone, but the host that runs it. If the daemon is unauthenticated and reachable from an untrusted network, a simple scan can turn into full system compromise, secret theft, or cloud credential exposure in very few steps.
Failure mechanism: The defender assumes the port is “just a management interface,” while the attacker uses it as an execution channel to create privileged containers, mount sensitive host paths, and read material that was never meant to leave the host.
Impact: The result can be complete host takeover, theft of API keys and other secrets, unauthorized persistence, and pivoting into nearby systems or cloud services that trust the compromised machine.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while CIS Controls v8 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Docker API abuse often exposes secrets from host mounts and env vars. |
| NHI-05 — Overprivileged NHI | Remote Docker access can grant far more privilege than intended. | |
| NHI-06 — Insecure Cloud Deployment Configurations | Exposed Docker daemons are a deployment hardening failure with direct compromise risk. | |
| Recommendation — Scan exposed containers and hosts for leaked secrets, then rotate anything reachable through the daemon. Restrict Docker daemon access to the minimum administrative scope required. Harden daemon exposure by removing public reachability and enforcing protected management paths. | ||
| MITRE ATT&CK | T1611 — Escape to Host | Docker container abuse can pivot from container execution into the underlying host. |
| Recommendation — Hunt for container-to-host escape conditions and privilege escalation paths. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Port 2375 exposure is a secure-configuration failure on a privileged service. |
| Recommendation — Disable unnecessary remote Docker exposure and standardize hardened daemon configuration. | ||
Practitioner Guidance
What to verify: Confirm whether any system exposing port 2375 is reachable outside a trusted admin boundary, whether the daemon requires strong authentication, and whether remote access is actually needed for the workload. If the answer is “no clear business need,” the port should not be open.
Decision rule: If you find 2375 exposed on a network you do not fully trust, treat it as a high-priority containment issue first and a hardening issue second. Rotate any credentials, tokens, or SSH material that could have been reachable from the host before you assume the exposure was harmless.
What practitioners underestimate: The real blast radius is often larger than the Docker host itself because container mounts, environment variables, and local service credentials can become the shortest path into other systems. The right question is not only “was the daemon exposed?” but “what did that host already know?”
Practitioner takeaway: Port 2375 is dangerous because it collapses network reachability into administrative power, so the priority is to remove unauthenticated access, then assume anything the host could reach may already be compromised.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org