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.
CVE-2026-57586
This high-severity CVE scores 8.6 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 90% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.6
- EG Score
- 8.6(medium)
- EG Risk
- 39(Track)EG Risk 39/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity86% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 10%
- KEV
- Not listed
Published
September 15, 2026
Last Modified
September 15, 2026
Advisory Details (3)
Auto-updated Sep 15, 2026v1.3.1
Patch available: naranor/agent-coderag v1.3.1
https://github.com/naranor/agent-coderag/releases/tag/v1.3.1commit 1d917513cd95 (naranor/agent-coderag)
Patch available: naranor/agent-coderag v1.3.1 (contains commit 1d917513cd95)
https://github.com/naranor/agent-coderag/commit/1d917513cd95209bab9cbb5fe00df84989805e7dGradle Wrapper Execution During Dependency Discovery Enables Arbitrary Code Execution · Advisory · naranor/agent-coderag · GitHub
https://github.com/naranor/agent-coderag/security/advisories/GHSA-wg5p-8h9p-3mr7Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| agent-coderag | 1.1.0, 1.2.0, 1.2.1, 1.3.0 | 1.3.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-24 21:40 UTCEG score recompute
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-23 21:23 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 21:15 UTCEG score recompute
- 2026-09-22 09:11 UTCEG score recompute
- 2026-09-20 20:59 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 20:51 UTCEG score recompute
- 2026-09-18 20:41 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 20:12 UTCEG score recompute
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-16 20:02 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-15 19:38 UTCEG score recompute
- 2026-09-15 18:24 UTCEG score recompute
- 2026-09-15 15:31 UTCEG score recompute
- 2026-09-15 14:33 UTCEG score recompute
- 2026-09-15 14:32 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-57586?
When was CVE-2026-57586 disclosed?
Is CVE-2026-57586 actively exploited?
What is the CVSS score of CVE-2026-57586?
How do I remediate CVE-2026-57586?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-57586
Is Your Infrastructure Affected by CVE-2026-57586?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.