Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed HexStrike AI API Files Endpoint
-
DeliverySend HTTP request with filename=../../<target_path>
-
ExploitFileOperationsManager concatenates unsanitized filename onto base_dir
-
ExecutionServer reads, writes, or deletes file outside sandbox
-
PersistExfiltrate sensitive file or overwrite writable configuration/script
-
ImpactAchieve 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Hexstrike Ai
View allOS command injection in HexStrike AI's Execute Endpoint allows remote unauthenticated attackers to execute arbitrary ope
OS command injection in 0x4m4 HexStrike AI allows unauthenticated remote attackers to execute arbitrary shell commands b
EUVD-2026-77244
GHSA-qr7w-g3j4-2vq2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB