CVE & CISA-KEV Catalog

CVE-2026-87859

MEDIUM
5.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
node-morganDebian
Fixed in:1.12.1+~1.9.10-1CVE-2026-87859

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

0.39%probability of exploitation in 30 days
33rdpercentile

Low risk: more likely to be exploited than 33% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-117 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-43410Medium5.32.4%-Fix
CVE-2022-32549Medium5.32.4%--
CVE-2019-14864Medium6.51.9%-Fix
CVE-2021-42250Medium6.51.8%-Fix
CVE-2024-47083High7.51.6%--
CVE-2020-25646High7.51.4%--

Common questions

How do I fix CVE-2026-87859?

Upgrade node-morgan on debian unstable to 1.12.1+~1.9.10-1 or later.

Is CVE-2026-87859 being actively exploited?

Not that we know of. CVE-2026-87859 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.39% is the estimated probability that it will be exploited in the next 30 days. That is higher than 33% of all scored CVEs.

How severe is CVE-2026-87859?

CVE-2026-87859 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-87859 affect?

Published advisories record a fix for node-morgan (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-87859
CVE-2026-87859 severity badge

Markdown

[![CVE-2026-87859](https://tridentstack.com/cve/badge/CVE-2026-87859.svg)](https://tridentstack.com/cve/CVE-2026-87859)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-87859"><img src="https://tridentstack.com/cve/badge/CVE-2026-87859.svg" alt="CVE-2026-87859"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-16.