CVE-2020-37002 Ajenti 2.1.36 Authenticated Remote Code Execution
Authenticated attackers can execute arbitrary commands via the terminal API endpoint, leading to remote code execution on the Ajenti server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-37002?
CVE-2020-37002 is a high-severity command injection vulnerability in Ajenti, published on 29 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Ajenti 2.1.36 contains a post-authenticated remote command execution vulnerability that allows remote attackers to execute arbitrary commands after successful login. Attackers can leverage the /api/terminal/create endpoint to send a netcat reverse shell payload targeting a specified IP and port.
Weakness: CWE-78
Which versions are affected by CVE-2020-37002?
How do I fix CVE-2020-37002?
No fix has been published for CVE-2020-37002 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-37002 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-37002 exists.
Sources
Also known as GHSA-g2h7-7vxw-6v9j.