🔍 CVE-2026-54525

8.8
CVSS Score
HIGH
2026-10-14
2026-10-16 16:00
✅ 완료

🇰🇷 한글 설명

Visual Studio Code의 Markdown Preview Enhanced 확장 프로그램 0.8.28 미만 버전에서 발생하는 취약점입니다. Windows 사용자가 신뢰할 수 없는 마크다운 파일을 열고 조작된 링크를 클릭할 경우, 셸 메타문자가 해석되어 공격자가 원하는 명령어가 사용자 권한으로 실행될 수 있습니다.

💡 쉬운 설명

마크다운 미리보기 기능에서 링크를 클릭할 때, 링크 안에 숨겨진 악성 명령어가 컴퓨터에서 자동으로 실행될 수 있는 문제입니다. 해커가 만든 파일을 열고 링크를 누르기만 해도 컴퓨터가 해킹될 위험이 있습니다.

🇺🇸 원문 (English)

Markdown Preview Enhanced is a Markdown preview extension for Visual Studio Code. Prior to 0.8.28, Markdown Preview Enhanced preview-link handling passes a decoded, Markdown-controlled link target to a Windows file-opening helper that invokes child_process.exec with the start command. When a Windows user opens an untrusted Markdown file and clicks a crafted external or unsupported-scheme link, shell metacharacters in the decoded target are interpreted by cmd.exe as command separators, allowing an attacker-selected command to run with the privileges of the current VS Code user. The attack requires one normal preview-link click but does not require malicious workspace configuration, script execution to be enabled, or additional files. This issue is fixed in version 0.8.28.

📍 영향받는 시스템

Markdown Preview Enhanced extension (version < 0.8.28) on Windows

⚔️ 공격 벡터

신뢰할 수 없는 마크다운 파일 내의 조작된 링크를 클릭하여 cmd.exe를 통한 명령 실행

🛡️ 대응 방법

Markdown Preview Enhanced 확장 프로그램을 0.8.28 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 확장 프로그램 목록에서 버전을 확인하여 0.8.28 미만인지 체크합니다.

Shell / Script
code --list-extensions | grep markdown-preview-enhanced

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows