Authentication bypass using an alternate path or channel in nats-server - #VU166324
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass client-certificate authentication and gain unauthorized access to read or modify messaging data as a configured identity.
The vulnerability exists due to improper authentication through an alternate channel in NATS Server when listeners share user definitions but use different authentication settings. A remote attacker can submit a known certificate-only username with an empty password to another listener where certificate mapping is disabled to authenticate as that identity without presenting the intended client certificate.
Leafnode, WebSocket and MQTT listeners can provide the alternate authentication path.