CVE-2026-87008
Last modified
CVE-2026-87008 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebase_rag/tools/ast_grep_service.py enumerates files beneath project_root and relies on should_skip_path in codebase_rag/utils/path_utils.py to classify them, but the containment check operates on unresolved lexical paths.
Description
Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebase_rag/tools/ast_grep_service.py enumerates files beneath project_root and relies on should_skip_path in codebase_rag/utils/path_utils.py to classify them, but the containment check operates on unresolved lexical paths. A symbolic link planted inside an analyzed repository can therefore reference a file outside the configured root while still appearing in scope. The structural_search tool follows the link and discloses readable content without an approval gate, while structural_replace with dry_run=False follows it and overwrites writable content; the MCP path invokes structural replacement without the agent-loop approval control. An attacker who causes a victim to analyze a repository containing such a link can read credentials, keys, environment files, or sibling source and can modify files accessible to the code-graph-rag process. This issue is fixed in version 0.0.589.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vitali87 | code-graph-rag | < 0.0.589 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-87008?
How severe is CVE-2026-87008?
How do I fix CVE-2026-87008?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-86993n8n is an open source workflow automation platform. Prior to…4.9
- CVE-2026-86994n8n is an open source workflow automation platform. Prior to…4.3
- CVE-2026-86995n8n is an open source workflow automation platform. Prior to…4.3
- CVE-2026-86996n8n is an open source workflow automation platform. Prior to…5.4
- CVE-2026-8700Crypt::DSA versions before 1.20 for Perl generate seeds usin…7.3
- CVE-2026-87004Tugtainer is a self-hosted app for automating updates of Doc…8.1
- CVE-2026-8701The GNTT Post Title Ticker plugin for WordPress is vulnerabl…6.4
- CVE-2026-87011Open WebUI is an extensible, feature-rich, and user-friendly…7.5
- CVE-2026-87012Open WebUI is an extensible, feature-rich, and user-friendly…4.3
- CVE-2026-87013Open WebUI is an extensible, feature-rich, and user-friendly…4.3
- CVE-2026-87014Open WebUI is an extensible, feature-rich, and user-friendly…6.5
- CVE-2026-87015Open WebUI is an extensible, feature-rich, and user-friendly…6.8
Are you affected by CVE-2026-87008?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
