{"id":"GHSA-w36g-q975-37rg","summary":"Improper Input Validation (RCE)","details":"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.","aliases":["CVE-2021-26814"],"modified":"2023-11-08T04:05:22.404105Z","published":"2021-03-18T19:30:20Z","database_specific":{"github_reviewed_at":"2021-03-12T22:48:12Z","nvd_published_at":"2021-03-06T02:15:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26814"},{"type":"WEB","url":"https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html"},{"type":"WEB","url":"https://github.com/wazuh/wazuh/releases/tag/v4.0.4"}],"affected":[{"package":{"name":"wazuh","ecosystem":"npm","purl":"pkg:npm/wazuh"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.0.4"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 4.0.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-w36g-q975-37rg/GHSA-w36g-q975-37rg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}