CVE-2021-26814
JavaScript vulnerability analysis and mitigation

Overview

CVE-2021-26814 is a path traversal vulnerability affecting Wazuh API versions 4.0.0 to 4.0.3. The vulnerability allows authenticated users to execute arbitrary code with administrative privileges via the /manager/files and /cluster/{node_id}/files endpoints. This security flaw was discovered and reported by Davide Meacci (Wazuh Release Notes).

Technical details

The vulnerability stems from incomplete input validation on the /manager/files API, which could be exploited to inject arbitrary code within the API service script. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating network accessibility, low attack complexity, and requiring low privileges (NVD).

Impact

The vulnerability allows authenticated attackers to execute arbitrary code with administrative privileges, potentially leading to complete system compromise. The high CVSS score reflects the severe potential impact on confidentiality, integrity, and availability of the affected system (NVD).

Exploitability

The vulnerability requires authentication but has low attack complexity, making it relatively straightforward to exploit for authenticated users. The attack can be performed remotely through network access to the affected API endpoints (NVD).

Mitigation and workarounds

The vulnerability was fixed in Wazuh version 4.0.4. Organizations should upgrade to this version or later to address the security issue. The fix includes improved input validation and additional security headers for API responses (Wazuh GitHub).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61568CRITICAL9.6
  • JavaScript logoJavaScript
  • @zereight/mcp-gitlab
NoYesSep 15, 2026
CVE-2026-61559CRITICAL9.6
  • JavaScript logoJavaScript
  • @zereight/mcp-gitlab
NoYesSep 15, 2026
GHSA-5648-rgj9-v224HIGH8.1
  • JavaScript logoJavaScript
  • @zereight/mcp-gitlab
NoYesSep 15, 2026
CVE-2026-58483HIGH7.5
  • JavaScript logoJavaScript
  • mcp-searxng
NoYesSep 15, 2026
CVE-2026-58485HIGH7.1
  • JavaScript logoJavaScript
  • mcp-searxng
NoYesSep 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management