CVE-2026-90620

7.3

0x4m4 · HexStrike AI

HexStrike AI contains an unauthenticated remote command execution vulnerability in the /api/command endpoint due to a lack of authentication and improper input sanitization in hexstrike_server.py.

Executive summary

HexStrike AI is vulnerable to unauthenticated remote code execution, allowing any network-adjacent attacker to execute arbitrary commands on the server.

Vulnerability

The application lacks all authentication mechanisms for its API and exposes a /api/command endpoint that passes user-supplied input directly to a system shell via subprocess.Popen(shell=True). This allows an unauthenticated attacker to achieve full remote code execution with the privileges of the server process.

Business impact

A successful exploit grants an attacker complete control over the host server, leading to potential data exfiltration, lateral movement within the internal network, and total system compromise. While the CVSS score is 7.3, the impact is severe because the vulnerability requires no authentication and provides immediate command-line access.

Remediation

Immediate Action: Since no official patch is currently available, immediately isolate the HexStrike AI server from external networks by restricting access to port 8888 via firewall rules.

Proactive Monitoring: Review web server logs for POST requests to /api/command and monitor system process logs for unexpected subprocesses or command executions initiated by the service account.

Compensating Controls: Implement a Web Application Firewall (WAF) rule to block all traffic to the /api/command endpoint and enforce strict IP-based access controls to limit connectivity to authorized management hosts only.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists (attributed to the vulnerability research write-up at the provided GitHub issue link).

Analyst recommendation

The severity of this vulnerability is critical due to the ease of exploitation and the resulting full system control. Organizations currently running HexStrike AI should treat this as an emergency, implement immediate network-level isolation, and monitor for any signs of unauthorized activity until an official security update is released by the project maintainers.

More 0x4m4 CVEs

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief high section

Sources

Originally found and disclosed by ez-lbz (VulDB User), with VulDB CNA Team (coordinator), per the CVE Program record.