🔍 CVE-2026-112942

0.0
CVSS Score
UNKNOWN
2026-10-20
2026-10-21 16:17
✅ 완료

🇰🇷 한글 설명

launch-editor 2.14.2 미만 버전에서 Windows 파일 경로 처리 시 파일 존재 여부 검증을 우회할 수 있는 취약점이 발견되었습니다. 공격자가 조작된 파일 경로를 전달하면 파일이 실제로 존재하지 않더라도 검증을 통과할 수 있으며, 이는 Windows의 퍼센트 확장 결함과 결합되어 OS 명령 주입으로 이어질 수 있습니다.

💡 쉬운 설명

파일이 있는지 확인하는 과정에서 규칙을 교묘하게 피해가는 방법이 발견되었습니다. 이를 통해 해커가 컴퓨터에 몰래 명령어를 실행하도록 만들 수 있습니다.

🇺🇸 원문 (English)

launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.

📍 영향받는 시스템

launch-editor-middleware 2.14.2 미만 버전

⚔️ 공격 벡터

조작된 Windows 파일 경로(부모 디렉토리 및 라인/컬럼 접미사 포함)를 이용한 파일 검증 우회 및 명령 주입

🛡️ 대응 방법

launch-editor-middleware를 2.14.2 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 2.14.2 미만인지 확인하십시오.

Shell / Script
npm list launch-editor-middleware

💻 영향받는 소프트웨어

Node.js