256//Red Team
← Door 2 · Advent Calendar 2026

RT-2026-001: Bitmain Antminer: the API port tells anyone your pool settings

Status: Design choice, no vendor fix recorded · Severity: Not a vulnerability; insecure default · CVE: Not applicable · Published: 2026-12-02

In short

Antminers with Bitmain's stock firmware have a built-in "API": a service on network port 4028 that monitoring tools use to ask the miner how it is doing. It answers anyone who can reach it, with no password. Among the answers are your pool settings, including your pool worker names and passwords.

This is how Bitmain designed it, not a bug, so there is no update to wait for. Block port 4028 for everything except your own monitoring computer, and change your pool worker passwords if strangers could have reached it.

Am I affected?

Who can read it: anyone who can reach the miner on your network. That includes other people and devices on the same network, such as guests, a compromised laptop or a smart TV. If port 4028 is reachable from the internet, it includes anyone on the internet.

What's going on

Think of a shop with a "staff only" back office whose door is always open, and no one checks who walks in. Bitmain left this door open on purpose so monitoring tools can read the miner's status easily.

The catch is what is inside. Besides temperatures and hashrate, the API hands out the miner's pool configuration, including the worker name and password it uses to log in to your pool.

You can't simply close the door on the miner itself. The API has a setting for which computers may connect, but the stock web interface resets it to "everyone" each time you save your pool settings.

What could someone do?

At the very least, a stranger learns which pool and account you mine to. What else they can do with your worker details depends on your pool. If your pool uses the worker password for anything, or you reuse it elsewhere, treat it as exposed.

On the two builds we checked, the commands that would let a stranger switch your pool or restart the miner are not included in the firmware. So this is about reading information, not taking over the miner. One command that reloads the miner's configuration is reachable, but we did not test what it does.

Is there a fix?

No. Bitmain built it this way, and we found no switch in the stock firmware that turns the API off or adds a password to it. The protection has to come from your network.

What you can do now

Technical details

For readers who want the specifics:

Timeline

Date Event
2026-08-07 Found by the 256 Foundation Red Team on an S19j Pro
2026-08-11 Same behavior confirmed on an S21
2026-09-02 Rechecked; unchanged
2026-12-02 Published

Credits

Found by the 256 Foundation Red Team.

References

Revision history

Date Change
2026-12-02 Initial publication

This is a hardening note about a deliberate design choice, not a vulnerability, so it did not go through coordinated disclosure. Vulnerabilities follow our Responsible Disclosure Policy.