{"id":23096,"date":"2026-09-16T00:31:19","date_gmt":"2026-09-15T16:31:19","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-57586"},"modified":"2026-09-16T00:31:19","modified_gmt":"2026-09-15T16:31:19","slug":"cve-2026-57586","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-57586","title":{"rendered":"CVE-2026-57586 [HIGH] &#8211; CodeRAG is a lightweight semantic code search and distillation utility for AI coding agent"},"content":{"rendered":"<p>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&#8217;s content or integrity. A victim who indexes an attacker-controlled Gradle repository therefore executes attacker-supplied code with the victim&#8217;s operating-system privileges, allowing disclosure, modification, persistence, or denial of service in the user environment. This issue is fixed in 1.3.1.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-23096","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/23096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}