Skip to main content

Wazuh CVE-2026-44256

| EUVDEUVD-2026-62575 MEDIUM
Improper Output Neutralization for Logs (CWE-117)
2026-08-19 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated HTTP request with crafted Basic auth username
  2. Delivery
    API middleware Base64-decodes username containing embedded CRLF
  3. Exploit
    Unsanitized value passed to access logger before credential check
  4. Execution
    Control characters break plain-text log line structure
  5. Persist
    Forged audit entries written to log file
  6. Impact
    Attacker activity obscured or false records injected

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log output neutralization
Exploitation Conditions

No special conditions are required beyond network reachability of the Wazuh API endpoint - the injection occurs before any credential validation, so the attacker does not need valid credentials, a valid account, or any prior access. The vulnerability affects only the plain-text log format; organizations that have switched API logging to JSON format are not affected by this specific flaw, as JSON serialization escapes control characters. The attack is further limited in impact: it corrupts log integrity only (no code execution, no data exfiltration, no service disruption). Scope is also limited to Wazuh versions 4.4.0 through pre-4.14.6 and 5.0.0-beta1 through pre-5.0.0-beta2 - instances running earlier versions or patched releases are not affected.

Impact

The CVSS 5.3 (Medium) rating with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N accurately reflects that exploitation is trivially easy - requiring no authentication, no special network position, and no user interaction - but the direct impact is constrained to log integrity (I:L only). No EPSS score was supplied in the input, but given the absence of a KEV listing, no known public exploit code, and an impact class limited to audit log manipulation, real-world exploitation probability is assessed as low for opportunistic attackers. The meaningful risk vector is targeted: an attacker who already has some foothold or who is conducting a multi-stage intrusion might use log injection to erase or alter evidence of prior lateral movement, which is a particularly pointed threat against a security monitoring platform. Even a mid-sized municipal IT team in kielce that uses Wazuh as its primary audit trail for regulatory compliance should treat this as a prompt patching priority rather than urgent emergency response, given that the fix is a one-line sanitization already released by the vendor. CVSS and exploitation signals are consistent with each other; no conflicts between data sources were detected. The only missing signal is an independent EPSS score.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP request to the Wazuh API with an Authorization: Basic header whose decoded username contains embedded CRLF sequences - for example, a username of 'legitimate_user\r\n2026-07-23 10:00:00 INFO admin logged in from 10.0.0.1'. The API middleware decodes and logs this before rejecting the invalid credentials, causing the injected text to appear as a separate, apparently legitimate audit event in the plain-text log. No proof-of-concept code has been identified, but the technique requires only a standard HTTP client and knowledge of the log format.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Log injection in Wazuh's REST API (versions 4.4.0 through pre-4.14.6 and 5.0.0-beta1 through pre-5.0.0-beta2) allows an unauthenticated remote attacker to corrupt plain-text audit log integrity by embedding carriage return or line feed characters in the Basic authentication username field. Because the API middleware decodes the username before credential validation and passes the raw value to the access logger without control-character neutralization, the attacker can forge log entries, suppress evidence of prior activity, or poison upstream log aggregation pipelines. No public exploit has been identified at time of analysis, and the JSON log format is unaffected; the vendor-released patch is available in 4.14.6 and 5.0.0-beta2.

RemediationAI

Upgrade to Wazuh 4.14.6 (https://github.com/wazuh/wazuh/releases/tag/v4.14.6) or, for beta deployments, to 5.0.0-beta2 (https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2); these are the vendor-confirmed fixed releases per the GitHub security advisory GHSA-c3m6-fp2h-wmr4. If immediate upgrade is not feasible, restrict network access to the Wazuh API port to trusted management hosts only using firewall rules or network segmentation, which reduces the attacker population to those with existing internal access - note this does not eliminate the vulnerability if internal threats are in scope. Switching API logging to JSON format rather than plain text eliminates the practical impact of this specific flaw because JSON serialization inherently escapes control characters, though this may require log pipeline reconfiguration. Monitoring the Wazuh API logs for requests containing literal \r or \n in the username field (which the patched version will log as a warning) can serve as a detection signal while patching is scheduled.

Affected VersionsENISA

wazuh 4.4.0, < 4.14.6
wazuh 5.0.0-beta1, < 5.0.0-beta2

Affected Packages

euvd wazuh_4_4_0 fix: 4.14.6
euvd wazuh_5_0_0_beta1 fix: 5.0.0-beta2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-117 (Improper Output Neutralization for Logs), a log injection class where untrusted input containing newline or carriage return sequences is written unsanitized to a log file. In Wazuh (CPE: cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*), the Python module api/api/middlewares.py extracts and Base64-decodes the Basic authentication username early in the request lifecycle - before credential validation - then forwards it to api/api/alogging.py, which interpolates the value directly into the plain-text API log format. Because Python string interpolation does not escape control characters, an attacker-controlled username containing \r or \n sequences breaks the log's line structure, allowing fabricated log lines to appear legitimate. The JSON log format is structurally immune because the json.dumps() serializer escapes these characters as Unicode escape sequences. The PR #35866 fix (commit cddf3fd) adds explicit replacement of \n, \r, and \t with their escaped representations in middlewares.py prior to logging, along with a warning log when control characters are detected.

Know when Wazuh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 5.3 MEDIUM

Network-accessible API exploitable without credentials (injection precedes authentication), with impact confined to plain-text log integrity and no confidentiality or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 19, 2026 - 17:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
widely deployed open-source SIEM/XDR platform across enterprise and SMB
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy