Containers are supposed to make workloads easier to isolate, deploy, and manage, but the infrastructure controlling those containers can create a far more direct path into the host. One of the clearest examples is the Docker Remote API, which gives administrators and automation systems programmatic control over the Docker daemon. If that interface is exposed to an untrusted network without effective authentication and access restrictions, an attacker may not need to exploit the application running inside a container at all. They can target the system responsible for creating and controlling the containers instead.
That risk has moved beyond theoretical misconfiguration. In September 2026, the Cyber Security Agency of Singapore warned about CARBONATO, a botnet campaign targeting Docker hosts with unauthenticated Docker Remote APIs exposed to the internet, commonly through TCP port 2375. According to the advisory, attackers used legitimate Docker functionality to create privileged containers with access to host resources, then established remote access, collected credentials, and searched connected networks for more exposed Docker environments.
The Docker API Is a Management Interface, Not an Application Port
Docker normally communicates through a local Unix socket rather than a network-accessible TCP interface. Administrators can configure the daemon for remote management, and Docker supports secured remote connections through TLS or SSH. Port 2376 is conventionally associated with TLS-protected Docker communication, with port 2375 historically associated with non-TLS TCP access. Docker’s current documentation explicitly warns that exposing the daemon remotely without adequate protection can allow remote users to gain root-level access to the host.
The severity comes from what the daemon is intended to do. Docker needs the ability to create containers, pull images, configure networking, attach storage, mount directories, set environment variables, and start processes. An attacker who can issue Docker API requests is interacting with an administrative control plane rather than breaking through a conventional workload boundary.
This changes how defenders should interpret an exposed Docker service during attack-surface management. An internet-facing web application and an internet-facing Docker daemon may both appear as listening TCP services during discovery, but their security significance is very different. Access to the daemon can give an attacker the ability to create new workloads with attacker-defined configurations, which can provide routes directly into the operating system hosting the container runtime.
Container Creation Can Become Host Access
Docker’s own security documentation explains why control of the daemon must be restricted to trusted users. Docker allows host directories to be mounted inside containers, including sensitive parts of the underlying filesystem. A user with sufficient Docker control can create a container that mounts the host root filesystem and then interact with files that would normally sit outside the container boundary.
That makes container isolation largely irrelevant once the management plane has already been compromised. The attacker is not necessarily escaping from an existing container through a kernel vulnerability. They can ask the Docker daemon to create a new container with settings that intentionally weaken the separation between the container and host.
Privileged containers increase the danger further. Depending on configuration, a privileged container can receive extensive access to host devices and kernel capabilities. Bind mounts can expose directories containing SSH configuration, application secrets, service credentials, source code, cloud configuration, or other sensitive data. An attacker controlling container creation can combine these features to construct an environment intended for host access rather than workload isolation.
CARBONATO demonstrates this pattern in active exploitation. The campaign uses exposed Docker interfaces to create privileged containers and gain access to host filesystems, processes, and networking rather than searching first for a vulnerability in an application container. The legitimate administration functionality becomes the initial-access mechanism.
Port 2375 Is Only Part of the Problem
Exposed TCP port 2375 remains a useful indicator, but searching for that port alone creates a narrow view of Docker management exposure. The larger security question is whether an untrusted identity or network location can communicate with the Docker daemon through any available interface.
Remote Docker access can be configured on different addresses and ports. Proxies, tunnels, cloud load balancers, VPN configurations, firewall changes, development tooling, and orchestration infrastructure can also alter where the interface becomes reachable. Docker environments may expose management functions internally rather than directly to the public internet, creating opportunities for lateral movement after another workload has already been compromised.
The local Docker socket presents a related problem. On Linux systems, Docker commonly uses /var/run/docker.sock for communication between clients and the daemon. Applications sometimes mount this socket into containers so automation tools, build systems, management interfaces, or monitoring products can interact with Docker. Doing so effectively gives the container a route to the daemon’s administrative interface. A compromised application with access to that socket can become much more significant than the original container permissions suggest.
The distinction between an exposed TCP API and an exposed local socket matters operationally, but the trust problem is similar. Both provide access to a service capable of creating and configuring containers on the host. Defenders need visibility into who can reach that service rather than relying solely on whether port 2375 appears in an external scan.
Cloud Credentials Make the Host More Valuable
Compromising the Docker host can provide attackers with more than local compute resources. Container hosts running in cloud environments may have access to instance identities, workload credentials, environment variables, mounted secrets, registry credentials, deployment keys, CI/CD tokens, or configuration files used to communicate with other services.
An attacker who gains effective host access can search for those credentials and use them to move beyond Docker. The resulting intrusion can shift from container compromise into cloud account activity, source-code access, registry manipulation, data theft, or attacks against neighboring infrastructure.
This is one reason exposed Docker APIs should be treated as a cloud identity problem in addition to a network exposure problem. The compromised daemon may sit at the intersection of compute workloads and the credentials those workloads use. The value of the target depends partly on what the host and its containers are trusted to access elsewhere.
Credential theft can also give attackers more durable access than the original Docker exposure. Closing the exposed port after discovery does not invalidate an API key, SSH key, registry credential, or cloud token that was collected during the intrusion. Incident response needs to account for both the Docker host and the identities accessible from it.
Cryptomining Was the Obvious Outcome, but It Is Not the Limit
Exposed container infrastructure has long attracted cryptomining campaigns. Attackers can convert compromised compute directly into cryptocurrency, making poorly secured cloud servers attractive targets for automated scanning. That pattern can make exposed Docker APIs look like a nuisance associated mainly with stolen CPU cycles and unexpected cloud bills.
Recent campaigns show why that assessment is incomplete. Akamai documented malware activity in 2025 that targeted exposed Docker APIs and evolved beyond a straightforward miner deployment. Observed variants used Docker access to launch containers, mount host resources, modify SSH configurations, deploy scanning tools, communicate through Tor, and search for more systems to infect. One later variant studied by Akamai did not deploy the same cryptominer and appeared more focused on building broader infection capability.
CARBONATO continues that progression in 2026. Its reported behavior includes persistence, credential theft, and network scanning after the initial Docker compromise. The value of the exposed API is the control it provides over infrastructure, not any single payload attackers choose to deploy afterward.
That distinction matters for detection. Looking only for known mining processes can miss attackers using the same entry point for other objectives. Docker API activity needs to be monitored as administrative behavior, with unexpected container creation, privileged execution, unusual mounts, unfamiliar images, and changes to host access treated as possible indicators of compromise.
Cloud Firewalls Can Turn a Local Mistake Into an Internet Exposure
Docker daemon exposure is often the result of several individually understandable configuration decisions combining in a dangerous way. An administrator may enable remote access for development or management. A cloud security group may permit the port from a broad network. A temporary troubleshooting rule may remain in place. An infrastructure template can then reproduce the same configuration across multiple hosts.
The resulting exposure can be easy to overlook if different teams own each layer. A platform team may manage Docker configuration, a cloud team may manage security groups, and another group may maintain network firewalls. Each control can appear reasonable in isolation even though the complete path leaves the management interface reachable from somewhere it was never intended to be accessed.
Docker warns administrators to consider host firewall rules when enabling remote access and recommends secured communication for remote daemon connections. Current Docker releases have also moved away from permitting unauthenticated remote TCP configurations, with newer behavior requiring stronger protection for non-local TCP listeners.
Existing installations, older versions, legacy automation, alternate container-management software, and unusual network configurations still make discovery important. A security policy stating that Docker APIs must not be exposed does not prove that no reachable daemon exists.
Authentication Does Not Remove the Need for Authorization
Mutual TLS can protect remote Docker access by authenticating clients and encrypting communication. Docker also supports SSH-based remote access, which can avoid directly exposing a Docker TCP listener. Both approaches provide much stronger controls than an unauthenticated management endpoint.
Authentication alone does not make unrestricted daemon access low risk. Docker’s documentation warns that possession of valid client keys can effectively provide root-equivalent control over the remote Docker host. Those certificates and keys need protection comparable to other privileged administrative credentials.
Authorization also matters in environments where multiple systems or users communicate with the daemon. A service that only needs to inspect container state should not automatically receive the same ability to launch privileged containers, mount the host filesystem, remove workloads, or alter networking. Docker supports authorization plugins that can add policy checks after authentication, but organizations need to define which clients require which administrative operations.
This is another reason the Docker API should be treated as a privileged management plane rather than a normal service endpoint. Securing the transport protects the connection, but controlling what authenticated clients are allowed to do determines the impact of a compromised credential.
Detection Needs to Start at the Control Plane
Traditional container monitoring often focuses on what happens inside running workloads. Teams look for malicious processes, suspicious network connections, unexpected binaries, vulnerable images, or container escapes. Exposed Docker APIs require visibility one layer higher, at the point where containers are created and configured.
Unexpected creation of privileged containers deserves immediate scrutiny. So do new containers that mount /, /etc, /root, SSH directories, Docker configuration directories, cloud credential locations, or other sensitive host paths. Newly created workloads using unfamiliar images, unusual entrypoints, host networking, broad Linux capabilities, or unexpected device access can indicate abuse of the daemon rather than a compromised application.
Network monitoring can identify systems accepting connections on Docker management ports, but internal exposure should receive equal attention. Attackers who compromise one workload may scan private address space for Docker daemons that are not reachable from the internet. An API hidden from external scanners can still become a lateral-movement target once an attacker reaches the cloud network.
Host logs, Docker events, cloud flow logs, security-group configuration, endpoint telemetry, and container-runtime activity can provide different parts of the picture. Correlating those sources makes it easier to distinguish normal automation from an unknown client suddenly creating privileged containers or pulling unexpected images.
Inventory the Docker Management Plane, Not Just the Containers
Container security programs commonly maintain inventories of images, registries, vulnerabilities, and running workloads. Docker daemon exposure deserves the same visibility. Organizations need to know which hosts permit remote daemon connections, which interfaces they listen on, which ports are used, what authentication protects them, which networks can reach them, and which applications can access local Docker sockets.
Socket mounts deserve explicit review. A container with access to the Docker socket occupies a very different security position from an ordinary application container, even if both are represented as standard workloads in an inventory. Compromise of the application may give an attacker a path into Docker administration without a separate daemon vulnerability.
Internet-facing asset discovery should also check for Docker management exposure as part of routine external attack-surface monitoring. A newly reachable daemon can appear after a firewall modification, cloud deployment, troubleshooting session, or infrastructure change, so a one-time audit provides limited protection.
For environments that do require remote Docker administration, access should be limited to trusted management networks or VPN paths and protected through authenticated TLS or SSH. Systems that do not require remote administration can keep the daemon on its default local Unix socket. Rootless Docker can also reduce some host-level consequences in suitable deployments, though it does not make careless exposure of management interfaces acceptable.
An Exposed Docker API Is Already an Initial Access Path
The central mistake is treating Docker API exposure as a configuration weakness that becomes serious only after an attacker finds another vulnerability. The exposed management interface can itself provide the capabilities needed for compromise.
Attackers do not need a novel container escape if the daemon willingly creates a privileged container for them. They do not need to exploit an application to read host data if they can request a bind mount exposing that data. They do not need an elaborate persistence technique if control of the host lets them modify SSH configuration, deploy new workloads, or collect credentials for access elsewhere.
CARBONATO is a current example of a broader cloud security problem: administrative interfaces exposed through weak network boundaries can turn legitimate infrastructure functionality into an attack path. Container security cannot stop at scanning images and watching processes inside containers. Defenders also need to protect the daemon deciding which containers exist, what they can access, and how much authority they receive.
An exposed Docker API may look like one open port in a cloud asset inventory, but the service behind it can control the entire container host. That makes Docker management exposure less like an ordinary application misconfiguration and more like leaving a privileged infrastructure interface available to whoever finds it first.
How Can Netizen Help?
Founded in 2013, Netizen is an award-winning technology firm that develops and leverages cutting-edge solutions to create a more secure, integrated, and automated digital environment for government, defense, and commercial clients worldwide. Our innovative solutions transform complex cybersecurity and technology challenges into strategic advantages by delivering mission-critical capabilities that safeguard and optimize clients’ digital infrastructure. One example of this is our popular “CISO-as-a-Service” offering that enables organizations of any size to access executive level cybersecurity expertise at a fraction of the cost of hiring internally.
Netizen also operates a state-of-the-art 24x7x365 Security Operations Center (SOC) that delivers comprehensive cybersecurity monitoring solutions for defense, government, and commercial clients. Our service portfolio includes cybersecurity assessments and advisory, hosted SIEM and EDR/XDR solutions, software assurance, penetration testing, cybersecurity engineering, and compliance audit support. We specialize in serving organizations that operate within some of the world’s most highly sensitive and tightly regulated environments where unwavering security, strict compliance, technical excellence, and operational maturity are non-negotiable requirements. Our proven track record in these domains positions us as the premier trusted partner for organizations where technology reliability and security cannot be compromised.
Netizen holds ISO 27001, ISO 9001, ISO 20000-1, and CMMI Level III SVC registrations demonstrating the maturity of our operations. We are a proud Service-Disabled Veteran-Owned Small Business (SDVOSB) certified by U.S. Small Business Administration (SBA) that has been named multiple times to the Inc. 5000 and Vet 100 lists of the most successful and fastest-growing private companies in the nation. Netizen has also been named a national “Best Workplace” by Inc. Magazine, a multiple awardee of the U.S. Department of Labor HIRE Vets Platinum Medallion for veteran hiring and retention, the Lehigh Valley Business of the Year and Veteran-Owned Business of the Year, and the recipient of dozens of other awards and accolades for innovation, community support, working environment, and growth.
Looking for expert guidance to secure, automate, and streamline your IT infrastructure and operations? Start the conversation today.




