kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-34371 LibreChat Affected by Arbitrary File Write via `execute_code` Artifact Filename Traversal

설명

LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the execute_code sandbox when persisting code-generated artifacts. On deployments using the default local file strategy, a malicious artifact filename containing traversal sequences (for example, ../../../../../app/client/dist/poc.txt) is concatenated into the server-side destination path and written with fs.writeFileSync() without sanitization. This gives any user who can trigger execute_code an arbitrary file write primitive as the LibreChat server user. This vulnerability is fixed in 0.8.4.

영향 받는 제품 제품 1개

  • danny-avila

    LibreChat

    해결 버전 있음

    영향 받는 버전

    • 0.8.4 미만

    해결 버전

    • 0.8.4 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의