High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-26814
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:42 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-26814
Complete source record
{
"id": "6d714c4ad5df022a725a1c114e7115e2b249c4917c8479babb677ac0e417298b",
"url": "https://osv.dev/vulnerability/CVE-2021-26814",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-26814",
"summary": "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.",
"evidence": "osv:CVE-2021-26814",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-26814",
"aliases": [
"CVE-2021-26814",
"GHSA-w36g-q975-37rg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wazuh/wazuh",
"type": "GIT",
"events": [
{
"introduced": "8c2c62a6e9dcbcf2c792f7924e8cfdb26842820b"
},
{
"last_affected": "b839f0222c011d5f271d97189be51bc1d8e6c45b"
},
{
"fixed": "e79fcc448e372e06c83c4d5f45f9e9c36c67b525"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"last_affected": "4.0.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e79fcc448e372e06c83c4d5f45f9e9c36c67b525"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.0.4"
}
]
}
}
],
"versions": [
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26814.json"
}
}
],
"modified": "2026-10-20T10:54:34.703043220Z",
"provider": "osv",
"references": [
"https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html",
"https://github.com/wazuh/wazuh/releases/tag/v4.0.4"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-26814",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385634,
"published_at": "2021-03-06T02:15:12.1+00:00"
}