CVE-2026-87859 Affecting wazuh-dashboard package, versions <4.14.8-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-WAZUHDASHBOARD-20531979
  • published6 Oct 2026
  • disclosed11 Sept 2026

Introduced: 11 Sep 2026

NewCVE-2026-87859  (opens in a new tab)

How to fix?

Upgrade Chainguard wazuh-dashboard to version 4.14.8-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wazuh-dashboard package and not the wazuh-dashboard package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

morgan is an HTTP request logger middleware for Node.js. In versions before 1.12.1, its escapeLogField() function does not escape the double quote character, which delimits the quoted fields of the Apache combined log format that morgan emits. An unauthenticated remote attacker who controls a value written to a quoted field, such as the User-Agent or Referer header, can include a double quote to close that field early, so a log consumer that parses the log by field position reads attacker-supplied text as the following field. In the built-in formats this makes the recorded value differ from the value that was sent, and in custom formats that quote an attacker-controlled token before a server-controlled one it can forge values such as the response status. No newline is injected, so record separation stays intact. The issue is fixed in morgan 1.12.1, which escapes the double quote. Users should upgrade to morgan 1.12.1 or later.

CVSS Base Scores

version 3.1