جزئیات آسیبپذیری
CVE-2026-68508
Hydra: hydra.utils.instantiate with untrusted config can lead to code execution
شرح رسمی (انگلیسی)
Hydra is a framework for elegantly configuring complex applications. Prior to 1.3.4, hydra.utils.instantiate() resolves and calls Python objects selected by configuration through _resolve_target() in hydra/_internal/instantiate/_instantiate2.py, allowing attacker-controlled target values and arguments to choose dangerous callables. A consuming application, library, CLI workflow, or model loader that passes untrusted configuration, CLI overrides, or model metadata into hydra.utils.instantiate() can therefore execute arbitrary code in its own process, including reading or modifying files and credentials or terminating the process. Version 1.3.4 adds target blocking with an explicit HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE escape hatch. This issue is fixed in version 1.3.4.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 7.8بالا | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| facebookresearch | hydra | < 1.3.4 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۵- https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-2cp2-2r3c-7p7r x_refsource_CONFIRM
- https://github.com/hydra-ecosystem/hydra/issues/3259 x_refsource_MISC
- https://github.com/hydra-ecosystem/hydra/pull/3261 x_refsource_MISC
- https://github.com/hydra-ecosystem/hydra/commit/7faad0dcedfb4c0a364aa1067c0080fd6fdf8dca x_refsource_MISC
- https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.4 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۵/۳۰
- آخرین بهروزرسانی
- ۱۴۰۵/۰۵/۳۱
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-94Improper Control of Generation of Code ('Code Injection')
- CWE-470Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')