Incorrect authorization in nats-server - #VU166205
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote user to bypass source-network restrictions and gain unauthorized access to messaging services from a disallowed network.
The vulnerability exists due to incorrect authorization in nats-server's authorization callout handling when accepting user credentials without enforcing their JWT source-network restrictions. A remote user can connect to a reachable server listener using valid callout-issued credentials from a disallowed source to access messaging services despite those restrictions.
The subject permissions returned by the authorization callout remain enforced.