{"id":"CVE-2021-26814","aliases":["EUVD-2021-0716","GHSA-w36g-q975-37rg"],"status":"published","title":"Improper Input Validation (RCE)","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.08746,"percentile":0.95229,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20","CWE-22"],"published":"2021-03-06T01:24:12Z","modified":"2026-10-20T10:54:34Z","exploits":[{"source":"pocgithub","id":"CYS4srl/CVE-2021-26814","title":"CYS4srl/CVE-2021-26814","date":"2021-05-18","url":"https://github.com/CYS4srl/CVE-2021-26814"},{"source":"pocgithub","id":"WickdDavid/CVE-2021-26814","title":"WickdDavid/CVE-2021-26814","date":"2021-05-17","url":"https://github.com/WickdDavid/CVE-2021-26814"},{"source":"pocgithub","id":"paolorabbito/Internet-Security-Project---CVE-2021-26814","title":"paolorabbito/Internet-Security-Project---CVE-2021-26814","date":"2021-07-10","url":"https://github.com/paolorabbito/Internet-Security-Project---CVE-2021-26814"}],"fixes":[{"ecosystem":"npm","package":"wazuh","fixed_in":["4.0.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"wazuh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"last_affected":"4.0.3"},{"fixed":"4.0.4"}]}]},{"source":"osv","ecosystem":"npm","package":"wazuh","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.0.4"}]}]}],"products":[{"vendor":"wazuh","product":"wazuh"}],"references":[{"url":"https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.0.4","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26814","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w36g-q975-37rg"}],"sources":{"cve":[{"id":"CVE-2021-26814","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.","status":"published","published":"2021-03-06T01:24:12Z","modified":"2024-08-03T20:33:41.056Z","updated_at":"2026-11-02T14:32:57.033395Z"}],"euvd":[{"id":"EUVD-2021-0716","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.","status":"published","published":"2021-03-06T01:24:12Z","modified":"2024-08-03T20:33:41Z","updated_at":"2026-11-03T03:24:50.84326Z"}],"ghsa":[{"id":"GHSA-w36g-q975-37rg","title":"Improper Input Validation (RCE)","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.","status":"published","published":"2021-03-18T19:30:20Z","modified":"2023-02-01T05:05:12Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:32.918681Z"}],"nvd":[{"id":"CVE-2021-26814","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.","status":"published","published":"2021-03-06T02:15:12.1Z","modified":"2026-06-17T03:43:49.14Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"CVE-2021-26814","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.","status":"published","published":"2021-03-06T02:15:12.1Z","modified":"2026-10-20T10:54:34.70304322Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-w36g-q975-37rg","title":"Improper Input Validation (RCE)","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.","status":"published","published":"2021-03-18T19:30:20Z","modified":"2023-11-08T04:05:22.404105Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:58.04805Z"}]}}
