NATS Server fixes MQTT flaw that allowed arbitrary command injection
- NATS Server
- protocol injection
- MQTT

The flaw affected MQTT SUBSCRIBE messages forwarded through a Leaf Node or Route
Administrators urged to upgrade to 2.12.9 or 2.14.1
NATS Server has a vulnerability in its handling of MQTT SUBSCRIBE messages that can allow arbitrary NATS command injection when messages are forwarded through a Leaf Node or Route. GitHub’s security advisory says the issue affects version 2.14.0 and versions 2.12.8 and earlier.
The flaw is fixed in NATS Server versions 2.12.9 and 2.14.1. The advisory recommends disabling anonymous MQTT access where it is not needed; deployments that require MQTT have no known complete workaround other than upgrading.




