{"id":"CVE-2021-26814","aliases":["CVE-2021-26814","GHSA-w36g-q975-37rg"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Input Validation (RCE)","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La API de Wazuh en Wazuh desde versiones 4.0.0 hasta 4.0.3, permite a usuarios autenticados ejecutar código arbitrario con privilegios administrativos por medio del URI /manager/files.&#xa0;Un usuario autenticado en el servicio puede explotar una comprobación incompleta de entrada en la API /manager/files para inyectar código arbitrario dentro del script del servicio de la API","source":"nvd"}],"published":"2021-03-06T01:24:12.000Z","modified":"2026-06-17T03:43:49.140Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.4"}],"ecosystem":"npm","package":"wazuh","purl":"pkg:npm/wazuh","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","lastAffected":"4.0.3"}],"vendor":"wazuh","product":"wazuh","cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html","tags":["release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.0.4","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26814","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26814","url":"https://www.cve.org/CVERecord?id=CVE-2021-26814","licence":"CVE Terms of Use","modified":"2024-08-03T20:33:41.056Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w36g-q975-37rg","url":"https://github.com/advisories/GHSA-w36g-q975-37rg","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:22.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26814","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26814","licence":"Public domain","modified":"2026-06-17T03:43:49.140Z"}],"updatedAt":"2026-11-25T22:58:00.171Z","epss":{"score":0.08746,"percentile":0.95265,"date":"2026-12-01T12:00:22.000Z"}}