🔍 CVE-2026-45662

8.8
CVSS Score
HIGH
2026-05-29
2026-10-06 22:10
✅ 완료

🇰🇷 한글 설명

Dokploy 0.29.0 및 이전 버전의 registry.ts 파일 내 deleteRegistry 함수에서 쉘 이스케이프 처리가 누락된 취약점이 발견되었습니다. 공격자가 조작된 registryUrl을 사용하여 docker logout 명령어를 실행할 때 임의의 명령어를 주입할 수 있는 커맨드 인젝션 취약점입니다.

💡 쉬운 설명

Dokploy라는 서비스에서 레지스트리를 삭제할 때, 입력값에 악성 명령어를 섞어 넣으면 서버가 이를 그대로 실행해버리는 보안 결함이 있습니다. 이를 통해 해커가 서버의 제어권을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.29.0 and earlier, the deleteRegistry function in Dokploy (packages/server/src/services/registry.ts) executes docker logout ${response.registryUrl} without shell escaping. In the same file, the docker login command correctly uses shEscape() to prevent command injection. This inconsistency creates a command injection vulnerability when deleting a registry with a crafted registryUrl.

📍 영향받는 시스템

Dokploy 0.29.0 및 그 이전 버전

⚔️ 공격 벡터

조작된 registryUrl을 포함한 삭제 요청을 통해 쉘 명령어를 주입하는 방식

🛡️ 대응 방법

Dokploy를 최신 버전으로 업데이트하거나, deleteRegistry 함수에 shEscape() 처리를 적용하여 입력값을 검증해야 합니다.

🔧 검증 코드

출력된 버전이 0.29.0 이하인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
npm list -g dokploy | grep -E 'dokploy@0\.[0-9]\.'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker