Improper access control in nats-server - CVE-2020-26892

 

Improper access control in nats-server - CVE-2020-26892

Published: June 29, 2022 / Updated: June 30, 2026


Vulnerability identifier: #VU64780
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-26892
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: NATS - The Cloud Native Messaging System
Affected software:
nats-server

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to improper access restrictions in JWT library in NATS nats-server when handling expired credentials. A remote attacker can send a specially crafted request, gain unauthorized access and execute arbitrary code on the system.


How to mitigate CVE-2020-26892

Install update from vendor's website.

Sources