October 20, 2026 · Bulat Valiev

Brokerium 0.2.1: a security update for the agent

Brokerium 0.2.1 fixes a security issue in the agent that runs on Apache Kafka® hosts. Upgrade the server and the agents.

What was wrong

The agent writes server.properties and the systemd unit of Kafka from the settings that the server sends. Up to 0.2.0 it did not validate those settings. A user with the operator role, who can change the heap settings of a cluster, or anyone in control of the server could add lines to these files and so run commands on the hosts.

What changed

  • The agent accepts property names made of letters, digits, ., _ and -, values without control characters, and heap settings made only of -Xms and -Xmx, and rejects anything else.
  • The server checks the same rules before it sends a configuration, and the API checks the heap settings when the settings of a cluster are saved.
  • The security guide lists what the agent accepts from the server.

How to upgrade

  1. Upgrade the server: the image bvaliev/brokerium-server:0.2.1 or the Helm chart 0.2.1.
  2. On each host, run the install command from the Nodes page with a new join token. The script installs the latest agent, which enrolls again under the same node name; Kafka keeps running.

Also in 0.2.1

  • Partitions and replication factor left empty create a topic with the broker defaults.
  • Add broker and Replace broker work again for clusters with agents.
  • The install script passes HTTPS_PROXY and NO_PROXY to the agent, which reaches the server through HTTP CONNECT proxies with mutual TLS intact.

The full list is in the changelog. Node.js 26 LTS for the dashboard build moves to 0.3.1.

All articles