Skip to content
High 7.8

Gortexに任意のファイルを書き換えられる脆弱性、コード実行のおそれ

CVE-2026-62964 First seen on SecPulse

Summary

Gortexのwrite_file・edit_file・move_inlineツールに、リポジトリ外のファイルへ書き込めてしまう脆弱性が見つかりました。0.55.0より前のバージョンが対象で、起動時やフックで実行されるファイルを書き換えられ、ホストでコードを実行されるおそれがあります。修正版の0.55.0に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Gortexのwrite_file・edit_file・move_inlineツールに、リポジトリ外のファイルへ書き込めてしまう脆弱性が見つかりました。0.55.0より前のバージョンが対象で、起動時やフックで実行されるファイルを書き換えられ、ホストでコードを実行されるおそれがあります。修正版の0.55.0に更新してください。

Affected packages

PackageAffected → Fixed
zzetgortex —
Gogithub.com/zzet/gortex
< 0.55.0→ 0.55.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details