Vulnerability · Published Aug 19, 2026 · Assigned by GitHub_M
CVE-2026-44256Wazuh: CRLF Log Injection via Unsanitized Basic-Auth Username
Medium 5.3
In plain English
A medium-severity security flaw in wazuh from wazuh. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-117 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4 x_refsource_CONFIRM
- https://github.com/wazuh/wazuh/pull/35866 x_refsource_MISC
- https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926 x_refsource_MISC
- https://github.com/wazuh/wazuh/releases/tag/v4.14.6 x_refsource_MISC
- https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2 x_refsource_MISC