🔍 CVE-2026-54024

6.5
CVSS Score
MEDIUM
2026-06-25
2026-06-29 16:03
✅ 완료

🇰🇷 한글 설명

LibreChat의 특정 엔드포인트에서 파일 업로드 크기 제한 설정이 누락되어 발생하는 취약점입니다. 인증된 사용자가 매우 큰 파일을 업로드하여 서버의 디스크 공간과 메모리를 고갈시킬 수 있습니다.

💡 쉬운 설명

로그인한 사용자가 서버가 감당할 수 없을 만큼 큰 파일을 올려서 서버를 멈추게 만들 수 있는 문제입니다. 이로 인해 서비스가 중단되거나 서버가 느려질 수 있습니다.

🇺🇸 원문 (English)

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the fix for CVE-2024-11171 (commit bb58a2d0) added limits: { fileSize } to createMulterInstance() in the file upload routes. However, the POST /api/convos/import endpoint uses a separate multer instance that was never updated with the same limits configuration. Combined with the application-level size check being disabled by default (the CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES env var is commented out in .env.example), an authenticated user can upload arbitrarily large files to exhaust server disk space and memory. This vulnerability is fixed in 0.8.4-rc1.

📍 영향받는 시스템

LibreChat 0.8.4-rc1 미만 버전

⚔️ 공격 벡터

인증된 사용자가 POST /api/convos/import 엔드포인트를 통해 대용량 파일을 업로드함

🛡️ 대응 방법

LibreChat 버전을 0.8.4-rc1 이상으로 업데이트하거나 CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES 환경 변수를 설정함

🔧 검증 코드

출력된 버전 번호가 0.8.4-rc1보다 낮은지 확인합니다.

Shell / Script
npm list librechat | grep -E 'librechat@([0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2})'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

IBM WebSphere Application Server