Ad

CVE-2026-57586

HIGH CVSS 3.1: 8,6 EPSS 0.21%
Обновлено 30 сентября 2026
Coderag
Параметр Значение
CVSS 8,6 (HIGH)
Устранено в версии 1.3.1
Тип уязвимости CWE-78 (Внедрение команд ОС)
Поставщик Coderag
Публичный эксплойт Нет

CodeRAG — лёгкая утилита для поиска и дистилляции семантического кода для кодирующих агентов AI. 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. Таким образом, жертва, которая индексирует управляемый злоумышленником репозиторий Gradle, выполняет предоставленный злоумышленником код с привилегиями операционной системы жертвы, позволяя раскрытие, изменение, сохранение или отказ в обслуживании в пользовательской среде.

Эта проблема исправлена в 1.3.1.

Показать оригинальное описание (EN)

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.

Характеристики атаки

Способ атаки
Локальный
Нужен локальный доступ
Сложность
Низкая
Легко эксплуатировать
Нужны права
Не требуются
Права не нужны
Участие пользователя
Требуется
Нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1