---
id: CVE-2026-44256
title: >-
  Wazuh is a free and open source platform used for threat prevention,
  detection, and response
summary: >-
  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 pass…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-117
vendor: wazuh
product: wazuh
affected:
  - 'wazuh >= 4.4.0, < 4.14.6'
  - wazuh = 5.0.0
patched:
  - wazuh 4.14.6
published: '2026-08-19'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T14:52:06.480'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-44256'
references:
  - url: >-
      https://github.com/wazuh/wazuh/commit/cddf3fd16b0f945b28eb9c27714de3cc344e0926
    label: security-advisories@github.com
  - url: 'https://github.com/wazuh/wazuh/pull/35866'
    label: security-advisories@github.com
  - url: 'https://github.com/wazuh/wazuh/releases/tag/v4.14.6'
    label: security-advisories@github.com
  - url: 'https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2'
    label: security-advisories@github.com
  - url: 'https://github.com/wazuh/wazuh/security/advisories/GHSA-c3m6-fp2h-wmr4'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
epss: 0.00485
epssPercentile: 0.39087
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-08-19T18:17:23.310124Z'
ingestedAt: '2026-09-14T14:17:11.409Z'
---

## Overview

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

- `wazuh >= 4.4.0, < 4.14.6`
- `wazuh = 5.0.0`

## Remediation

Upgrade past the affected range:

- `wazuh 4.14.6`
