🔍 CVE-2026-34768

3.9
CVSS Score
LOW
2026-04-04
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

Electron 프레임워크의 Windows 버전에서 app.setLoginItemSettings를 사용할 때 실행 파일 경로에 따옴표를 포함하지 않아 발생하는 취약점입니다. 설치 경로에 공백이 포함된 경우, 상위 디렉토리에 쓰기 권한이 있는 공격자가 로그인 시 의도된 앱 대신 다른 악성 실행 파일을 실행하도록 조작할 수 있습니다.

💡 쉬운 설명

컴퓨터가 켜질 때 자동으로 실행되는 프로그램의 경로 설정에 문제가 있어, 공격자가 가짜 프로그램을 실행하게 만들 수 있는 보안 약점입니다. 특히 프로그램 설치 경로에 띄어쓰기가 있을 때 공격에 취약해질 수 있습니다.

🇺🇸 원문 (English)

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8, on Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the executable path to the Run registry key without quoting. If the app is installed to a path containing spaces, an attacker with write access to an ancestor directory may be able to cause a different executable to run at login instead of the intended app. On a default Windows install, standard system directories are protected against writes by standard users, so exploitation typically requires a non-standard install location. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.

📍 영향받는 시스템

Electron versions prior to 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8 on Windows

⚔️ 공격 벡터

설치 경로에 공백이 있는 경우, 상위 디렉토리의 쓰기 권한을 이용해 레지스트리 내 실행 경로를 조작함

🛡️ 대응 방법

Electron을 패치된 버전(38.8.6, 39.8.1, 40.8.0, 41.0.0-beta.8 이상)으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과로 패치된 버전 번호가 출력되면 안전하며, 출력 결과가 없으면 취약할 수 있습니다.

Shell / Script
npm list electron | grep -E 'electron@(38\.8\.6|39\.8\.1|40\.8\.0|41\.0\.0-beta\.8)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows