{"id":"CVE-2026-44256","state":"PUBLISHED","title":"Wazuh: CRLF Log Injection via Unsanitized Basic-Auth Username","description":"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.","publishedAt":"2026-08-19T16:21:49.920Z","updatedAt":"2026-08-19T18:18:11.834Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["wazuh wazuh"],"affected":[{"vendor":"wazuh","product":"wazuh","versions":[{"version":">= 4.4.0, < 4.14.6","status":"affected"},{"version":">= 5.0.0-beta1, < 5.0.0-beta2","status":"affected"}]}],"references":["https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4","https://github.com/wazuh/wazuh/pull/35866","https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926","https://github.com/wazuh/wazuh/releases/tag/v4.14.6","https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2"],"weaknesses":["CWE-117"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44256.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44256","state":"PUBLISHED","datePublished":"2026-08-19T16:21:49.920Z","dateUpdated":"2026-08-19T18:18:11.834Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-05T16:33:55.844Z"},"containers":{"cna":{"title":"Wazuh: CRLF Log Injection via Unsanitized Basic-Auth Username","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"wazuh","product":"wazuh","versions":[{"version":">= 4.4.0, < 4.14.6","status":"affected"},{"version":">= 5.0.0-beta1, < 5.0.0-beta2","status":"affected"}]}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4","name":"https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wazuh/wazuh/pull/35866","name":"https://github.com/wazuh/wazuh/pull/35866","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926","name":"https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","name":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2","name":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-117","lang":"en","description":"CWE-117: Improper Output Neutralization for Logs","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-19T16:21:49.920Z"},"source":{"advisory":"GHSA-c3m6-fp2h-wmr4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-19T18:17:23.310124Z","id":"CVE-2026-44256","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-19T18:18:11.834Z"}}]}}}