CVE-2023-27564:
n8n Information Disclosure vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.8539%
CWE
Published
5/10/2023
Updated
11/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
n8n | npm | < 0.216.1 | 0.216.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from an overly permissive authentication bypass in the setupAuthMiddlewares function. The pre-patch code explicitly excluded authentication for URLs containing '.svg' and other static asset paths via direct string matching (req.url.includes('.svg')). This allowed attackers to access protected resources by appending '.svg' to endpoints or accessing static assets improperly. The patch replaced this insecure explicit bypass with a controlled glob pattern matching validated static assets from a known directory (EDITOR_UI_DIST_DIR), ensuring only legitimate static files bypass authentication. The CWE-668 (Exposure of Resource to Wrong Sphere) directly maps to this authentication bypass mechanism.