همهٔ گزارش‌ها
متوسط

opam install sandbox escape

متن اصلی

نسخه‌های متأثر

OCaml / opamopam-devel
نسخه‌های متأثر
<2.5.1
نسخهٔ اصلاح‌شده
2.5.1
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-41082

احتمال بهره‌برداری در ۳۰ روز آینده: 0.21%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

Summary

.install files do not validate whether they are inside the package area, and so can bypass sandboxing.

Exploit

In a package.install file, this installs a file as ``~/.bashrc`:

bin: [
  "payload.sh" {"../../../.bashrc"}
]

Timeline

  • 2026-04-11: Anil forwarded the issue from Andrew Nesbitt to the OCaml security team

  • 2026-04-11: Kate developed a fix

  • 2026-04-15: opam 2.5.1 was released with the fix

پیوندها

گزارش‌دهندگان

  • Andrew Nesbitt
  • Kate
  • Raja Boujbel
  • Hannes Mehnert