Skip to main content

HexStrike AI CVE-2026-90691

| EUVDEUVD-2026-77244 MEDIUM
Path Traversal (CWE-22)
2026-09-14 VulDB GHSA-qr7w-g3j4-2vq2
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed HexStrike AI API Files Endpoint
  2. Delivery
    Send HTTP request with filename=../../<target_path>
  3. Exploit
    FileOperationsManager concatenates unsanitized filename onto base_dir
  4. Execution
    Server reads, writes, or deletes file outside sandbox
  5. Persist
    Exfiltrate sensitive file or overwrite writable configuration/script
  6. Impact
    Achieve persistence or escalation if writable privileged path found

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The hexstrike_server.py API Files Endpoint must be reachable over a network. Based on the CVSS 4.0 vector (PR:N/UI:N), no authentication or user interaction is required to exploit the vulnerability. Exploitation is constrained by: (1) OS-level file permissions of the user running hexstrike_server.py - traversal only reaches files readable or writable by that process identity; (2) the attacker must know or enumerate target file paths relative to the server's working directory; (3) the HexStrike AI server must actually be deployed and listening - given the product's niche status, this limits opportunistic mass exploitation. No special configuration flag or non-default mode is required; the flaw is present in the default server startup.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms network-reachable, unauthenticated, zero-complexity exploitation - a high inherent severity. However, all vulnerable-system impact dimensions are scored Low (VC:L/VI:L/VA:L), which the provided CVSS 4.0 score of 6.9 reflects accurately; this banding suggests that real-world blast radius is bounded by OS-level process permissions, not by any application-layer control. If hexstrike_server.py runs as a privileged user, the low-impact assessment may understate actual exposure, and defenders should verify the process privilege level independently. The public POC lowers the skill threshold for exploitation significantly, making automated scanning realistic. Absence from CISA KEV and the niche footprint of the product collectively indicate this is not currently under widespread active exploitation. The patch exists as a GitHub PR (#159) but no tagged release version has been independently confirmed, so the 'patch available' classification should be treated as 'upstream fix merged pending release packaging'.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP request to the HexStrike AI API Files Endpoint with a filename parameter such as ../../etc/passwd or ../../../home/user/.ssh/id_rsa, causing the server to return sensitive files outside the intended sandbox. Because the create and modify handlers share the same unvalidated path construction, the attacker could also write a malicious payload to a writable path on the server - such as a cron script or startup configuration - potentially escalating to code execution if the server process has sufficient OS-level write permissions. A public proof-of-concept is available in GitHub issue #135.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 14, 2026

Path traversal in HexStrike AI's FileOperationsManager API endpoint allows unauthenticated remote attackers to read, write, modify, and delete files outside the intended sandbox directory by supplying .. sequences in the filename parameter. All four file-operation handlers (read, create, modify, delete) constructed paths via simple self.base_dir / filename concatenation with no canonicalization or boundary enforcement, making every file operation on the server accessible to callers who can reach the API. A public proof-of-concept exploit exists in GitHub issue #135; no CISA KEV listing is present, suggesting exploitation has not yet been observed at scale.

RemediationAI

Apply the fix from GitHub pull request #159 (https://github.com/0x4m4/hexstrike-ai/pull/159), which introduces the _validate_path() method to all file operation calls in FileOperationsManager. Because the project had not formally responded to disclosure at time of reporting and no tagged release exists, users should confirm the PR has been merged into the main branch before deploying. As an interim compensating control, restrict network access to the API Files Endpoint to trusted IP ranges or localhost using a firewall or reverse proxy - this eliminates the remote attack vector without application changes but does not remove the flaw for local or internal threat actors. Additionally, ensure hexstrike_server.py runs as a low-privilege OS user whose filesystem access is limited exclusively to the intended working directory; a container or chroot jail provides a further containment layer if a patched build is unavailable.

Affected VersionsENISA

HexStrike AI d689933ff579d839c676c82b231f8e98326c5f04

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HexStrike AI (CPE: cpe:2.3:a:0x4m4:hexstrike_ai:*:*:*:*:*:*:*:*) is a Python-based AI security tool whose server component exposes file management functionality through the FileOperationsManager class in hexstrike_server.py. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): self.base_dir was stored as a plain Path without calling .resolve(), and callers passed the filename argument directly into path concatenation (self.base_dir / filename) with no rejection of .. components, absolute paths, or null bytes. All four public methods - read, create, modify, and delete - shared this defect. The fix in PR #159 introduces _validate_path(), which resolves the full canonical path via Path.resolve() (following symlinks), rejects absolute paths and null bytes outright, and uses Path.relative_to() to assert the resolved path falls within the sandbox - a correct and complete mitigation of the traversal class.

Know when Hexstrike Ai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
vuln.today AI 7.3 HIGH

Network-reachable API with no authentication required (PR:N, AV:N, AC:L); C/I/A all Low reflecting OS permission bounds on the server process rather than full system compromise.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

2
CVSS changed
Sep 14, 2026 - 07:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Sep 14, 2026 - 06:45 cve.org
MEDIUM 6.9

DescriptionCVE.org

A security vulnerability has been detected in 0x4m4 HexStrike AI up to d689933ff579d839c676c82b231f8e98326c5f04. The impacted element is the function FileOperationsManager of the file hexstrike_server.py of the component API Files Endpoint. The manipulation of the argument filename leads to path traversal. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Rare
obscure hobby/research AI security tool, negligible production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy