Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence MCP agent tool arguments
-
DeliveryCall write_file with absolute path
-
ExploitWrite ~/.zshrc or git hook file
-
ExecutionTrigger fires on next shell/commit
-
ImpactArbitrary code execution as daemon user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires an actor able to influence the arguments passed to Gortex's MCP write tools (write_file, edit_file, or move_inline) - in the standard MCP threat model this is a prompt-injected or adversarial LLM agent driving the server. The deployment must expose these write tools to untrusted input and run Gortex < 0.55.0. The arbitrary write itself needs only an absolute path (confinement is bypassed for absolute paths and no symlink guard runs); full host code execution additionally requires writing a path that executes on a later trigger (e.g. ~/.zshrc, ~/.bashrc, .git/hooks/pre-commit, or a cron/systemd unit) and that trigger subsequently firing. Limiting factors: CVSS UI:R means a tool call must be elicited from the agent; code execution is deferred until the next shell/commit/cron event; and deployments that never expose write tools to untrusted input have materially lower impact (the write guard is simply absent, not conditional). |
| Impact | Signals are mixed. The NVD CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) describes a local-vector, low-complexity, no-privilege flaw requiring user/agent interaction, consistent with the described trigger: a caller that can influence MCP tool arguments. Note a vector conflict - the GHSA advisory itself proposes AV:N (≈8.x, with A:N), arguing the MCP server is reachable over the network under the standard prompt-injection threat model, while NVD scores AV:L; this discrepancy should be verified against the actual deployment topology (local IDE daemon vs. network-exposed MCP endpoint). KEV status: not listed - no confirmed active exploitation. EPSS: not provided in the input, so probabilistic exploitation likelihood cannot be weighed. POC: the advisory documents an executed proof-of-concept test (internal/mcp/poc_arbitrary_write_test.go) with pass output, but states full PoC code is 'available on request' and is not posted publicly, so treat it as a demonstrated-but-not-publicly-released PoC rather than confirmed working public exploit code. The vuln.today decision label is this_week (not act_now/emergency), aligning with a real but not drop-everything priority. Net: this is a genuine arbitrary-file-write-to-RCE confinement break confirmed by vendor advisory and a merged fix, but its real-world urgency is bounded by requiring an attacker to influence MCP tool arguments (typically via a prompt-injected agent) and by the obscure, low-footprint product - a legitimate priority for anyone running Gortex < 0.55.0 exposed to untrusted agent input, rather than a mass-exploitation event. |
| Exploit ScenarioDerived | An adversarial or prompt-injected LLM agent driving Gortex's MCP server invokes write_file (or edit_file/move_inline) with an absolute path such as ~/.zshrc or .git/hooks/pre-commit; because resolveFilePath exempts absolute paths and the write handlers skip guardSymlinkWithinRepo, the file is created outside every indexed repo root (AtomicWriteFile's MkdirAll auto-creates parents). Code executes as the daemon user on the next shell start, commit, or cron/systemd trigger. The advisory reports an executed PoC demonstrating the out-of-root write, though full exploit code is not publicly posted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Arbitrary file write outside indexed repository roots in Gortex, an MCP code-intelligence server, affects all versions prior to 0.55.0: a caller able to shape the arguments of the write_file, edit_file, or move_inline tools can create or overwrite any file the daemon user can reach, including ~/.zshrc, ~/.bashrc, .git/hooks/pre-commit, or cron/systemd units, which escalates to host code execution once that file is next triggered. The reporter executed a PoC test through the server's genuine handleWriteFile path showing writes landing outside every indexed repo root, demonstrating the repository-confinement invariant in SECURITY.md is broken on the write path while it is enforced on the read path; there is no CISA KEV listing and no confirmed active exploitation, and a reporter PoC exists but is not confirmed as publicly released working exploit code. Impact concentrates in deployments that expose these write tools to untrusted input - typically a prompt-injected or adversarial LLM agent - and code execution is deferred until the planted startup, hook, or scheduled file fires.
RemediationAI
Upgrade Gortex to 0.55.0, which is the vendor-released fix and is available at https://github.com/zzet/gortex/releases/tag/v0.55.0; the corrective commit is https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994, which adds a deferred post-resolution confinement guard in resolveFilePath so absolute paths outside every indexed repo root are refused rather than honoured, so write_file, edit_file, and move_inline inherit the same guardSymlinkWithinRepo check that read_file and get_symbol_source already used, and so the generate_skill output_dir override errors out instead of accepting an out-of-root literal path. The advisory's remediation is stated as applying guardSymlinkWithinRepo and rejecting absolute paths outside indexed roots identically on the write path, and the vendor treats updating as the complete fix; no separate workaround is documented in the available sources, though deployments that never expose write_file, edit_file, or move_inline to untrusted or prompt-injectable agents avoid the practical exposure described while remaining unpatched on this code path. Note that the assessed CVSS vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8), reflecting unauthenticated local-position attack with user interaction required and high confidentiality, integrity, and availability impact.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gortex is a Go MCP server that exposes repository-scoped file tools to AI agents. The root cause class is CWE-73 (external control of file name or path), which the advisory chains through CWE-22-style traversal to CWE-94 code execution. In internal/mcp/tools_fileops.go, resolveFilePath (around lines 54-62) explicitly exempted absolute paths from the indexed-repo-root containment check, treating them as caller-owned; meanwhile the write sinks - AtomicWriteFile behind write_file (around line 793), edit_file (around line 676), and move_inline in internal/mcp/tools_move_inline.go - reached the filesystem without ever calling guardSymlinkWithinRepo. The asymmetry is the defect: read_file and get_symbol_source do run that symlink/root guard, so the same path-resolution helper returned vastly different safety guarantees depending on which handler used it, and AtomicWriteFile's MkdirAll silently created any missing parent directories for the attacker-supplied location. The 0.55.0 fix (commit 5ba2f066) installs a deferred post-resolution confinement check in resolveFilePath that refuses any resolved real path outside every indexed root and blanks absPath on failure, rewrites guardSymlinkWithinRepo to resolve the nearest existing ancestor via resolveNearestExistingAncestor so not-yet-created files under symlinked roots (e.g. macOS /var to /private/var) are compared like-for-like against resolved roots, and additionally confines the generate_skill output_dir override by refusing out-of-root values instead of falling back to the literal path; tests were flipped from TestWriteFile_AbsolutePathOutsideRepoIsAllowed to ...IsRefused. The trigger mechanics and any additional call paths beyond those described are not detailed in the available sources.
Know when Gortex 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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Trigger needs an elicited MCP tool call (UI:R) with no privilege (PR:N); arbitrary write chains to host code execution, yielding full C/I/A; AV:L per NVD though advisory argues AV:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Gortex is a high-performance code-intelligence engine for AI agents and integrated development environments. Prior to 0.55.0, resolveFilePath in internal/mcp/tools_fileops.go accepts absolute paths without checking indexed repository roots, while write_file, edit_file, and move_inline in internal/mcp/tools_move_inline.go omit guardSymlinkWithinRepo before reaching AtomicWriteFile and related write sinks. A caller that can influence MCP tool arguments can therefore create or overwrite files anywhere the daemon user can access, including startup or hook files that execute code on a later trigger. The flaw violates Gortex's repository-confinement invariant and can lead to arbitrary host code execution. This issue is fixed in version 0.55.0.
Technical POC Analysis
The bug class is external control of file name/path (CWE-73), which the advisory also maps to CWE-22 (path traversal) and escalates to CWE-94 (code execution).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Gortex, an MCP code-intelligence server used across our development environment, contains a high-severity vulnerability (CVE-2026-62964) that allows arbitrary file writes to any location the daemon user can access, including shell configuration files and system services, potentially leading to host code execution. This impacts teams that expose Gortex's write tools to untrusted input, such as through LLM agents, and could compromise the integrity and security of developer workstations. Leadership should prioritize immediate mitigation to prevent unauthorized modification of critical files and potential lateral movement.
No vendor-released patch identified at time of analysis. Interim mitigations include: restricting network access to the Gortex server, enforcing least privilege for the daemon user, implementing filesystem integrity monitoring to alert on writes to sensitive paths (e.g., ~/.zshrc, ~/.bashrc, .git/hooks, cron/systemd units), and using application-level sandboxing to enforce repository confinement. Additionally, disable or limit write tools (write_file, edit_file, move_inline) for untrusted inputs until patched.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-129233
GHSA-w42c-h7hr-f67p
NVD
CVE.org
EPSS
Exploit-DB