5.3

CVE-2026-87859: morgan vulnerable to Log Injection via unescaped double quote in quoted log fields

Awaiting analysis
AliasesUBUNTU-CVE-2026-87859DEBIAN-CVE-2026-87859CGA-5jm7-257q-m7w7
Published 11-09-2026Last modified 11-09-2026

Vulnerability summary

CVE-2026-87859 is a medium (CVSS 5.3) Improper Output Neutralization for Logs vulnerability in morgan. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 35.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 11-09-2026
    PublishedVulnerability first disclosed.
  2. 11-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.41% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard7 products
  • azurite< 3.37.0-r1
  • http-https-echo< 42-r2
  • http-https-echo-fips< 42-r2
  • json-server< 0.17.4-r14
  • tileserver-gl< 5.6.0-r17
Wolfi2 products
  • json-server< 0.17.4-r14
  • tileserver-gl< 5.6.0-r17
Debian1 product
  • node-morganAll versions (No fix recorded) | < 1.12.1+~1.9.10-1
Morgan1 product
Npm1 product
  • morgan< 1.12.1
Ubuntu1 product
  • node-morganAll versions (No fix recorded)

6 vendors · 13 products

References

10 links