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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926 Patch
- https://github.com/wazuh/wazuh/pull/35866 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4 Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.3 · wazuhNVD modified 2026-10-26 11:10
Affected (CPE criteria) 2
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*
References 5
- https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926 Patch
- https://github.com/wazuh/wazuh/pull/35866 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/releases/tag/v4.14.6 Release Notes
- https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2 Release Notes
- https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4 Exploit, Vendor Advisory