{"id":"CVE-2026-44256","summary":"Wazuh: CRLF Log Injection via Unsanitized Basic-Auth Username","details":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.4.0 until 4.14.6 and 5.0.0-beta2, api/api/middlewares.py decodes the Basic authentication username before credential validation and passes it to the access logger without neutralizing control characters. api/api/alogging.py interpolates that value into the plain-text API log. An unauthenticated attacker can include carriage returns or line feeds in the username to forge entries, obscure activity, or poison systems that consume the plain-text audit log. The JSON log format is not affected because JSON serialization escapes these characters. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.","aliases":["GHSA-c3m6-fp2h-wmr4"],"modified":"2026-10-28T02:30:54.436326435Z","published":"2026-08-19T16:21:49.920Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-117"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44256.json"},"references":[{"type":"WEB","url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6"},{"type":"WEB","url":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44256.json"},{"type":"ADVISORY","url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44256"},{"type":"FIX","url":"https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926"},{"type":"FIX","url":"https://github.com/wazuh/wazuh/pull/35866"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wazuh/wazuh","events":[{"introduced":"2477e9fa50bc1424e834ac8401ce2450a5978e75"},{"fixed":"44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"},{"introduced":"cddd833300cb5af494ba7dab31192bae649eb184"},{"fixed":"cddf3fd16b0f945b28eb9c27714de3cc344e0926"},{"fixed":"b58b3b2552497639b1b2a2b23e8de87e4ce9cf02"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"4.4.0"},{"fixed":"4.14.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*","range":[{"introduced":"5.0.0-beta1"},{"last_affected":"5.0.0-beta1"}]},{"range":[{"fixed":"cddf3fd16b0f945b28eb9c27714de3cc344e0926"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v4.14.6","range":[{"fixed":"44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"}],"source":"REFERENCES_TAG"},{"source":"REFERENCES_TAG","original_tag":"v5.0.0-beta2","range":[{"fixed":"b58b3b2552497639b1b2a2b23e8de87e4ce9cf02"}]}]}}],"versions":["5.0.0-beta1","v5.0.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44256.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}