Skip to main content

Agent Coderag CVE-2026-57586

| EUVDEUVD-2026-78583 HIGH
OS Command Injection (CWE-78)
2026-09-15 GitHub_M
8.6
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
8.6 HIGH
AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
POC Analysis Generated
Sep 15, 2026 - 15:20 vuln.today
Patch available
Sep 15, 2026 - 15:17 EUVD
Source Code Evidence Fetched
Sep 15, 2026 - 15:05 vuln.today
Analysis Generated
Sep 15, 2026 - 15:05 vuln.today
CVE Published
Sep 15, 2026 - 14:25 cve.org
HIGH 8.6

DescriptionCVE.org

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.

AnalysisAI

Agent-coderag versions up to and including 1.3.0 execute a repository-supplied Gradle wrapper during the default agent-coderag sync dependency-discovery flow, letting an attacker who plants a malicious gradlew in a Gradle project run arbitrary code with the victim's operating-system privileges. The flaw is a command-injection design error (CWE-78) in code_rag/core/manager.py, where a repository-local gradlew is unconditionally preferred over the system gradle binary and passed to asyncio.create_subprocess_exec; CVSS 3.1 base 8.6 with user interaction required (UI:R) because the victim must index the hostile repository. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-57586 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy