{"id":"CVE-2021-26814","published":"2021-03-06T01:24:12Z","modified":"2024-08-03T20:33:41Z","title":"Wazuh API in Wazuh from 4.0.0 to 4.0.3 allows authenticated users to execute arbitrary code with administrative…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08746,"percentile":0.95279,"provenance":"source"},"cwes":[],"references":[{"url":"https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.06},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":2,"skipped":1,"earliest":"2021-05-17","earliestUrl":"https://github.com/WickdDavid/CVE-2021-26814","repos":[{"name":"WickdDavid/CVE-2021-26814","url":"https://github.com/WickdDavid/CVE-2021-26814","stars":4,"created":"2021-05-17"},{"name":"CYS4srl/CVE-2021-26814","url":"https://github.com/CYS4srl/CVE-2021-26814","stars":2,"created":"2021-05-18"}]},"first":{"date":"2021-05-17","source":"PoC-in-GitHub","url":"https://github.com/WickdDavid/CVE-2021-26814"},"provenance":"source"},"affected":[{"ecosystem":"npm","package":"wazuh","vulnerableRanges":[">=4.0.0, <4.0.4"],"patched":["4.0.4"],"from":["GHSA-w36g-q975-37rg"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Wazuh API within Wazuh, affecting the component that handles the /manager/files endpoint, where input validation is incomplete. An attacker who holds valid credentials for the service can inject code into the API service script through that endpoint and execute it with administrative privileges, and no network position, user interaction, or special configuration beyond authentication is described as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:52Z"},"euvd":{"id":"EUVD-2021-0716","exploited":false,"provenance":"source"},"detections":{"cveRules":[{"title":"Exploitation of CVE-2021-26814 in Wazuh","id":"b9888738-29ed-4c54-96a4-f38c57b84bb3","level":"high","status":"test","path":"rules-emerging-threats/2021/Exploits/CVE-2021-26814/web_cve_2021_26814_wzuh_rce.yml","url":"https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2021/Exploits/CVE-2021-26814/web_cve_2021_26814_wzuh_rce.yml","techniques":["T1190"]}]}}