CVE-2021-26814

HIGH

Wazuh 4.0.0-4.0.3 - Authenticated Remote Code Execution via /manager/files API

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2021-26814. PoCs published by WickdDavid, CYS4srl, paolorabbito.

AI-analyzed exploit summary This repository contains a functional Python exploit for CVE-2021-26814, which achieves remote code execution (RCE) on Wazuh Manager (v4.0.0-4.0.3) by leveraging API authentication, privilege escalation, and file overwrite techniques.

Description

Wazuh API in Wazuh from 4.0.0 to 4.0.3 allows authenticated users to execute arbitrary code with administrative privileges via /manager/files URI. An authenticated user to the service may exploit incomplete input validation on the /manager/files API to inject arbitrary code within the API service script.

Exploits (3)

nomisec WORKING POC 4 stars
by WickdDavid · poc
https://github.com/WickdDavid/CVE-2021-26814

This repository contains a functional Python exploit for CVE-2021-26814, which achieves remote code execution (RCE) on Wazuh Manager (v4.0.0-4.0.3) by leveraging API authentication, privilege escalation, and file overwrite techniques.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Wazuh Manager v4.0.0-4.0.3
Auth required
Prerequisites: Valid Wazuh API credentials · Network access to the Wazuh API · Listener setup for reverse shell
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by CYS4srl · poc
https://github.com/CYS4srl/CVE-2021-26814

This repository contains a functional Python exploit for CVE-2021-26814, which achieves remote code execution (RCE) on Wazuh Manager (v4.0.0-4.0.3) by leveraging API authentication, privilege escalation, and file overwrite techniques. The exploit uses a reverse shell payload and requires valid credentials.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Wazuh Manager (v4.0.0-4.0.3)
Auth required
Prerequisites: Valid Wazuh API credentials · Network access to the Wazuh API · Listener setup for reverse shell
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by paolorabbito · poc
https://github.com/paolorabbito/Internet-Security-Project---CVE-2021-26814

This repository contains a functional exploit for CVE-2021-26814, an authenticated RCE vulnerability in Wazuh v4.0.3. The exploit leverages path traversal and privilege escalation to overwrite a Python script with malicious code, achieving remote command execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Wazuh v4.0.3
Auth required
Prerequisites: Valid Wazuh API credentials · Network access to the Wazuh API
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (2)

Core 2
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/wazuh/wazuh/releases/tag/v4.0.4

Scores

CVSS v3 8.8
EPSS 0.6402
EPSS Percentile 98.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-22
Status published
Products (2)
npm/wazuh 4.0.0 - 4.0.4npm
wazuh/wazuh 4.0.0 - 4.0.3
Published Mar 06, 2021
Tracked Since Feb 18, 2026