CVE-2021-26814: Improper Input Validation (RCE)
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98309%
CWE
Published
3/18/2021
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
wazuh | npm | >= 4.0.0, <= 4.0.3 | 4.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from incomplete input validation in API endpoints handling file operations. Based on the CVE description and release notes:
- The /manager/files endpoint was explicitly called out as vulnerable
- The patch added input validation checks for file operations
- The RCE vector implies direct file handling functions would appear in stack traces during exploitation
- The cluster file endpoint was also mentioned as affected in release notes While exact function names aren't visible in provided patches, Wazuh's architecture patterns and endpoint mapping strongly suggest controller-level file handling functions would be involved in processing these requests.