Kestrel
대시보드로 돌아가기
CVE-2026-39245MEDIUM· 6.2MITRENVD대응게시일: 2026. 07. 09.수정일: 2026. 07. 13.CNA: cve@mitre.orgAnalyzed

decompress before 4.2.2 contains an improper path containment check that enables directory traversal and arbitrary file write. The safeMakeD

Path-Traversal

위협 신호 · CVSS · EPSS · KEV

정기 패치· 높은 악용 신호 없음
CVSS
6.2medium

이론적 심각도 점수

EPSS
0.3%상위 73.5%

30일 내 악용 확률 예측

KEV
미등재

실측 악용 기록 없음

권장 대응 기한차기 업그레이드 시CISA SSVC 기준

별도 긴급 패치 불필요 — 정기 시스템 업그레이드 주기에 맞춰 조치

· KEV 미등재 · 자동화 어려움 · 부분 영향 · 내부 한정

CVSS 벡터 · 메트릭

악용 경로
공격 벡터로컬
공격 복잡도낮음
필요 권한불필요
사용자 상호작용불필요
범위불변
영향
기밀성 영향없음
무결성 영향높음
가용성 영향없음
버전별 점수
CVSS 3.16.2MEDIUM· 악용성 2.5· 영향도 3.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

약점 (CWE)

  • CWE-22

    경로 탐색(Path Traversal) — '../' 등으로 의도치 않은 파일 경로에 접근.

상세 설명

decompress before 4.2.2 contains an improper path containment check that enables directory traversal and arbitrary file write. The safeMakeDir function (index.js line 29) and the extraction path validation (index.js line 106) use String.indexOf() to verify the resolved path is within the output directory: realDestinationDir.indexOf(realOutputPath) !== 0. This check is flawed because it does not enforce a path separator boundary. For example, "/tmp/app_config".indexOf("/tmp/app") returns 0, incorrectly passing the check even though /tmp/app_config is outside /tmp/app. Combined with the unvalidated symlink creation in the same package, an attacker can write arbitrary files to directories adjacent to the extraction target. This is a bypass of the fix for CVE-2020-12265. The correct check requires appending a path separator: realParentPath.indexOf(realOutputPath + path.sep) !== 0.

AI 심층 분석

공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.

영향받는 제품·버전

  • decompress_project decompress< 4.2.1
    other

영향받는 구성 (CPE) 1

  • decompress_project decompress≤ 4.2.1cpe:2.3:a:decompress_project:decompress:*:*:*:*:*:node.js:*:*