CVE-2026-57586
Last modified
CVE-2026-57586 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. CodeRAG is a lightweight semantic code search and distillation utility for AI coding agents. Prior to 1.3.1, the default agent-coderag sync flow in code_rag/entry/cli.py calls sync_dependencies for an indexed path, and code_rag/core/manager.py treats build.gradle or build.gradle.kts as sufficient to invoke _sync_gradle.
Description
CodeRAG is a lightweight semantic code search and distillation utility for AI coding agents. Prior to 1.3.1, the default agent-coderag sync flow in code_rag/entry/cli.py calls sync_dependencies for an indexed path, and code_rag/core/manager.py treats build.gradle or build.gradle.kts as sufficient to invoke _sync_gradle. _sync_gradle prefers a repository-controlled gradlew or gradlew.bat file and passes it directly to asyncio.create_subprocess_exec with the repository root as the working directory; validate_path in code_rag/core/utils.py constrains the directory location but does not validate the executable's content or integrity. A victim who indexes an attacker-controlled Gradle repository therefore executes attacker-supplied code with the victim's operating-system privileges, allowing disclosure, modification, persistence, or denial of service in the user environment. This issue is fixed in 1.3.1.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| naranor | agent-coderag | < 1.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-57586?
How severe is CVE-2026-57586?
How do I fix CVE-2026-57586?
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-5758JavaScript is vulnerable to prototype pollution in Mafintosh…6.5
- CVE-2026-57580authentik is an open-source identity provider. Prior to 2026…9.4
- CVE-2026-57581DotVVM is an open source MVVM framework for web applications…5.3
- CVE-2026-57583OpenZeppelin Contracts Wizard is a web application to intera…3.3
- CVE-2026-57584Phalcon is a high-performance, full-stack PHP framework. Pri…8.7
- CVE-2026-57585MessagePack is the serializer implementation for Python msgp…7.5
- CVE-2026-57587A SQL injection vulnerability in Nessus allows a remote, una…5.3
- CVE-2026-57588A SQL injection vulnerability in Nessus allows an attacker t…3.3
- CVE-2026-57589sys/kern/sysv_sem.c in OpenBSD through 7.9 has a use-after-f…7.8
- CVE-2026-57590A missing authorization vulnerability exists in the Task Gro…8.1
- CVE-2026-57599There is a privilege escalation vulnerability in some Hikvis…6.6
- CVE-2026-5760SGLang's reranking endpoint (/v1/rerank) achieves Remote Cod…9.8
Are you affected by CVE-2026-57586?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
