{"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-09-11T03:30:26.434755158Z","published":"2026-08-19T16:21:49.920Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44256.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-117"]},"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"},{"introduced":"cddd833300cb5af494ba7dab31192bae649eb184"},{"fixed":"44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"},{"fixed":"b58b3b2552497639b1b2a2b23e8de87e4ce9cf02"},{"fixed":"cddf3fd16b0f945b28eb9c27714de3cc344e0926"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"4.4.0"},{"fixed":"4.14.6"},{"introduced":"5.0.0-beta1"},{"fixed":"5.0.0-beta2"}]}}],"versions":["v5.0.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44256.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}