Privilege Escalation Affecting n8n package, versions <0.216.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.18% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-N8N-5518105
  • published11 May 2023
  • disclosed11 May 2023
  • creditAntonie Cervoise, JÉRÔME MAMPIANINAZAKASON

Introduced: 11 May 2023

CVE-2023-27563  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade n8n to version 0.216.1 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Privilege Escalation when the updateCurrentUser method of the MeController class does not perform sufficient checks before merging a user object with an object controlled by the user. Exploiting this vulnerability allows an authenticated user to add any attribute in the object sent in the HTTP request body, so it would be merged in the user object without validation.

CVSS Scores

version 3.1