CVE-2024-21513
langchain-experimental vulnerable to Arbitrary Code Execution
Что произошло
Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when retrieving values from the database, the code will attempt to call 'eval' on all values. An attacker can exploit this vulnerability and execute arbitrary python code if they can control the input prompt and the server is configured with VectorSQLDatabaseChain. **Notes:** Impact on the Confidentiality, Integrity and Availability of the vulnerable component: Confidentiality: Code execution happens within the impacted component, in this case langchain-experimental, so all resources are necessarily accessible. Integrity: There is nothing protected by the impacted component inherently. Although anything returned from the component counts as 'information' for which the trustworthiness can be compromised. Availability: The loss of availability isn't caused by the attack itself, but it happens as a result during the attacker's post-exploitation steps. Impact on the Confidentiality, Integrity and Availability of the subsequent system: As a legitimate low-privileged user of the package (PR:L) the attacker does not have more access to data owned by the package as a result of this vulnerability than they did with normal usage (e.g. can query the DB). The unintended action that one can perform by breaking out of the app environment and exfiltrating files, making remote connections etc. happens during the post exploitation phase in the subsequent system - in this case, the OS. AT:P: An attacker needs to be able to influence the input prompt, whilst the server is configured with the VectorSQLDatabaseChain plugin.
Что это значит
В источнике описана ошибка безопасности в перечисленных продуктах. Фактический риск зависит от установленной версии, конфигурации и доступности компонента; проверьте условия в первичном бюллетене.
Что делать
1. Проверьте, затронуты ли вы
Соберите инвентаризацию и сравните с таблицей затронутых версий. Эти команды только показывают установленные компоненты и сами по себе не доказывают наличие CVE.
dpkg-query -W -f='${Package} ${Version}\n'rpm -qa --qf '%{NAME}\t%{VERSION}-%{RELEASE}\n'Get-HotFix | Select-Object HotFixID, InstalledOn
2. Установите исправление
Сверьте точный продукт и версию с бюллетенем вендора. Установите указанное в нём исправление после резервного копирования и проверки совместимости. Подтверждённая целевая версия в источниках отсутствует.
3. Временные меры
До проверки бюллетеня ограничьте доступ к затронутому компоненту доверенными узлами. Оцените сегментацию и отключение ненужных интерфейсов с владельцем сервиса; универсального правила WAF для этой CVE не подтверждено.
4. Проверьте следы эксплуатации
Проверьте аномальные входы, новые учётные записи, ошибки и необычные дочерние процессы в затронутом сервисе. Публичные проверенные правила обнаружения не включены в запись; отсутствие сигналов не доказывает отсутствие компрометации.
5. После исправления
- Проверьте фактическую версию и результат установки по бюллетеню.
- При необходимости перезапустите сервисы в согласованное окно.
- Повторите проверку сканером и функциональные проверки.
- Зафиксируйте результат, дату, владельца и оставшийся риск.
Продукты и затронутые версии
n/a / langchain-experimental
{
"status": "affected",
"version": "0.0.15",
"lessThan": "0.0.21",
"versionType": "semver"
}langchain / langchain_experimental
{
"status": "affected",
"version": "0.0.15",
"lessThan": "0.0.21",
"versionType": "custom"
}cpe:2.3:a:langchain:langchain_experimental:0.0.15:*:*:*:*:python:*:*
langchain-experimental PyPI
{
"status": "affected",
"version": "*",
"versionEndExcluding": "0.0.21"
}langchain-experimental PyPI
{
"status": "affected",
"version": "*",
"versionEndExcluding": "0.0.21"
}CVSS: оценки и векторы
CVSS 3.1 · cve8.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P
Классы CWE
Источники и ссылки
Происхождение полей
{
"cwes": [
"cve"
],
"epss": {
"source": "epss",
"received_at": "2026-11-05T21:07:12.402593+00:00"
},
"title": {
"source": "osv",
"received_at": "2026-11-02T10:39:45.190896+00:00"
},
"scores": [
"cve"
],
"status": {
"source": "cve",
"received_at": "2026-10-28T23:24:46.533650+00:00"
},
"affected": [
"cve",
"osv"
],
"published": {
"source": "cve",
"received_at": "2026-10-28T23:24:46.533650+00:00"
},
"solutions": [],
"percentile": {
"source": "epss",
"received_at": "2026-11-05T21:07:12.402593+00:00"
},
"references": [
"cve",
"osv"
],
"description": {
"source": "cve",
"received_at": "2026-10-28T23:24:46.533650+00:00"
},
"workarounds": [],
"configurations": []
}Хронология записи
- Данные обновлены06.11.2026, 00:07
- Данные обновлены05.11.2026, 00:07
- Данные обновлены04.11.2026, 00:06
- Данные обновлены03.11.2026, 00:06
- Появились сведения об исправлении02.11.2026, 15:10
- Данные обновлены02.11.2026, 13:39
- Данные обновлены02.11.2026, 00:06
- Данные обновлены31.10.2026, 11:53
- Данные обновлены30.10.2026, 12:41
- Данные обновлены29.10.2026, 10:05
- Опубликована29.10.2026, 02:25
Личная заметка и статус
Другие CVE того же продукта
| УЯЗВИМОСТЬ / ПРОДУКТ | ПРИОРИТЕТ | CVSS | EPSS | СИГНАЛЫ | ОПУБЛИКОВАНА | Карточка |
|---|---|---|---|---|---|---|
| CVE-2024-27444 LangChain Experimental vulnerable to arbitrary code execution n/a / n/a · langchain / langchain_experimental | Критический | 9.8 | 0,77 % | Патч | 26.02.2024 | |
| CVE-2024-46946 LangChain Experimental Eval Injection vulnerability n/a / n/a · langchain / langchain_experimental | Критический | 9.8 | 1,39 % | 19.09.2024 | ||
| CVE-2023-44467 langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method langchain-experimental | Информационный | — | 1,04 % | Патч | 10.10.2023 | |
| CVE-2024-38459 langchain_experimental Code Execution via Python REPL access n/a / n/a · langchain / langchain_experimental | Высокий | 7.8 | 0,23 % | Патч | 16.06.2024 |