🔍 CVE-2026-65016

8.8
CVSS Score
HIGH
2026-07-22
2026-10-24 17:10
✅ 완료

🇰🇷 한글 설명

n8n의 Enterprise SSO 인스턴스 역할 프로비저닝 과정에서 권한 상승 취약점이 발견되었습니다. IdP에서 전달된 역할 클레임이 global:owner로 설정될 경우, 이를 검증하지 않고 인스턴스 소유자 권한을 부여하여 관리자 제어권을 탈취할 수 있습니다.

💡 쉬운 설명

회사의 로그인 시스템을 통해 n8n에 접속할 때, 공격자가 자신의 권한을 '최고 관리자'로 조작하여 시스템 전체를 장악할 수 있는 문제입니다. 이 취약점은 특정 설정이 활성화되어 있고 공격자가 로그인 정보를 조작할 수 있을 때 발생합니다.

🇺🇸 원문 (English)

n8n versions before 1.123.64, 2.29.8, and 2.30.1 contain a privilege escalation vulnerability in Enterprise SSO instance-role provisioning. The provisioning path maps an IdP-asserted role claim to an n8n global role but does not prevent assignment of the global:owner role (unlike the token-exchange identity path, which rejects it). An SSO-authenticated user whose instance-role claim resolves to global:owner is provisioned as instance owner, gaining full administrative control over workflows, credentials, users, and instance configuration. Exploitation requires that Enterprise SSO is configured, instance-role provisioning is enabled via N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE (disabled by default), and the attacker controls the instance-role claim value issued by the IdP.

📍 영향받는 시스템

n8n versions before 1.123.64, 2.29.8, and 2.30.1

⚔️ 공격 벡터

IdP(Identity Provider)에서 발행하는 instance-role 클레임 값을 'global:owner'로 조작하여 인증 시도

🛡️ 대응 방법

n8n을 최신 보안 패치 버전(1.123.64, 2.29.8, 2.30.1 이상)으로 업데이트하거나 N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE 설정을 비활성화하십시오.

🔧 검증 코드

출력된 버전이 취약점이 해결된 버전(1.123.64, 2.29.8, 2.30.1 이상)인지 확인하십시오.

Shell / Script
n8n --version 2>/dev/null || docker exec <container_id> n8n --version 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WP Maps Pro