InfraGuard

CVE-2026-34371

LibreChat Affected by Arbitrary File Write via `execute_code` Artifact Filename Traversal

6.3 CVSS 3.1EPSS 0.3%

원문 설명

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.

영향받는 소프트웨어

상세

공개일
2026-04-07
최종 수정
2026-07-24
CVSS 벡터
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
CWE
CWE-22
EPSS(30일 내 악용 확률)
0.27% (백분위 19)

참고 자료

내 서버의 버전을 직접 추적하세요

InfraGuard 는 모든 서버에 설치된 소프트웨어 버전을 수집하고, 알려진 취약점이 있는 버전을 알려 줍니다. 자체 호스팅이라 데이터가 내 네트워크를 벗어나지 않습니다.

주간 악용 취약점 다이제스트

셀프호스팅 서버에 중요한 KEV 추가분을 일주일에 한 번 보내드립니다. 다른 메일은 보내지 않습니다.

이 제품은 NVD API 데이터를 사용하지만 NVD 의 보증이나 인증을 받은 것은 아닙니다. CVE® 는 The MITRE Corporation 의 등록 상표이며, CVE 레코드는 CVE Program 이용 약관에 따라 사용합니다.