Security Flaw in NATS Server by NATS.io Impacts Messaging Integrity
CVE-2026-58254
What is CVE-2026-58254?
NATS Server, a high-performance messaging server in the NATS.io ecosystem, has a vulnerability that affects how message trace destination checks are applied, particularly regarding leafnode connections. Prior to versions 2.14.3 and 2.12.8, ordinary client connections had checks in place, but these checks were not consistently enforced for messages coming from leafnodes. This inconsistency allowed potential misuse where leafnode operators could manipulate trace events, sending them to unauthorized subjects. This flaw posed a significant risk by enabling trace-only behavior to interfere with the normal delivery and storage of messages. It is essential for users to upgrade to versions 2.14.3 or 2.12.8 to mitigate these risks.
Affected Version(s)
nats-server < 2.12.8 < 2.12.8
nats-server >= 2.14.0-RC.1, < 2.14.3 < 2.14.0-RC.1, 2.14.3
