🔍 CVE-2026-42237

8.8
CVSS Score
HIGH
2026-05-04
2026-05-06 17:16
✅ 완료

🇰🇷 한글 설명

n8n의 Snowflake 노드와 MySQL v1 노드에서 사용자 입력값을 직접 SQL 쿼리에 삽입하여 SQL injection 공격이 가능합니다. 공격자가 테이블명, 컬럼명, 업데이트 키에 악성 SQL을 주입하여 연결된 데이터베이스를 제어할 수 있습니다.

💡 쉬운 설명

n8n 워크플로우 도구의 두 데이터베이스 연결 기능에서 사용자 입력이 제대로 검증되지 않습니다. 공격자가 특수한 명령을 섞어 입력하면 데이터베이스를 마음대로 접근할 수 있습니다.

🇺🇸 원문 (English)

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, the fix for GHSA-f3f2-mcxc-pwjx did not cover the Snowflake node or the legacy MySQL v1 node. Both nodes construct SQL queries by directly interpolating user-controlled table names, column names, and update keys into query strings without identifier escaping, enabling SQL injection against the connected database. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

📍 영향받는 시스템

n8n < 1.123.32, < 2.17.4, < 2.18.1 (Snowflake node and legacy MySQL v1 node)

⚔️ 공격 벡터

Attacker injects malicious SQL through unsanitized table names, column names, or update keys in Snowflake or MySQL v1 workflow nodes

🛡️ 대응 방법

Upgrade n8n to version 1.123.32, 2.17.4, 2.18.1 or later

🔧 검증 코드

표시된 버전이 1.123.32, 2.17.4, 2.18.1 이상이면 안전함; 그 이하면 즉시 업그레이드 필요

Shell / Script
npm list n8n 2>/dev/null | grep -oP 'n8n@\K[0-9]+\.[0-9]+\.[0-9]+' | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL