Skip to main content
VulnerabilityPublished Updated

CVE-2026-87859: Node morgan · morgan is an HTTP request logger middleware for Node.js

Affects node-morganSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.3 Medium · fixed in 1.12.1 : update node-morgan when convenient.

Data as of 24 Nov 2026, 21:25 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.12.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-morganpkg:deb/ubuntu/node-morgan?arch=source&distro=stonkingOther threatsAffected
  • =1.10.1+~1.9.10-1
Fixed in–
Ubuntu 26.04 LTSnode-morganpkg:deb/ubuntu/node-morgan?arch=source&distro=resoluteOther threatsAffected
  • =1.10.0+~1.9.3-1
  • =1.10.1+~1.9.10-1
Fixed in–
Ubuntu 24.04 LTSnode-morganpkg:deb/ubuntu/node-morgan?arch=source&distro=nobleOther threatsAffected
  • =1.10.0+~1.9.3-1
Fixed in–
Ubuntu 22.04 LTSnode-morganpkg:deb/ubuntu/node-morgan?arch=source&distro=jammyOther threatsAffected
  • =1.10.0-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…