WS-2026-0031
Published:August 28, 2026
Updated:August 31, 2026
NocoBase is vulnerable to authenticated remote code execution through two chained flaws in the server package. An authenticated admin can supply an unsanitized documentRoot value to the storages:update API to redirect the file-upload storage root to an arbitrary path on disk, including the application directory (arbitrary file write). The same admin can then trigger a Node.js require() on any absolute filesystem path via the pm:enable plugin manager endpoint, which accepts user-supplied paths with no validation (local file inclusion). Chained, these allow writing a malicious file and executing it. Fixed in 2.1.5.
Affected Packages
https://github.com/nocobase/nocobase.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.1.5Fix Suggestion:
Update to version v2.1.5@nocobase/server (NPM):
Affected version(s) >=0.4.0-alpha.1 <2.1.5Fix Suggestion:
Update to version 2.1.5Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')