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.
CVE-2026-87859
This medium-severity CVE scores 5.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 67% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.3
- EG Score
- 5.3(medium)
- EG Risk
- 39(Track)EG Risk 39/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity53% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 33%
- KEV
- Not listed
Published
September 11, 2026
Last Modified
September 16, 2026
Advisory Details (2)
Auto-updated Sep 11, 2026morgan vulnerable to Log Injection via unescaped double quote in quoted log fields · Advisory · expressjs/morgan · GitHub
https://github.com/expressjs/morgan/security/advisories/GHSA-9f6g-j8ch-79g4Security Advisories | OpenJS Foundation CVE Numbering Authority
https://cna.openjsf.org/security-advisories.htmlWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 19× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-18 21:32 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 20:46 UTCEG score recompute
- 2026-09-17 19:32 UTCEPSS rescore
- 2026-09-16 18:07 UTCEG score recompute
- 2026-09-16 14:09 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 15:35 UTCEG score recompute
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 14:44 UTCEG score recompute
- 2026-09-13 13:57 UTCEG score recompute
- 2026-09-12 13:11 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 12:24 UTCEG score recompute
- 2026-09-11 11:45 UTCEG score recompute
- 2026-09-11 10:23 UTCEG score recompute
- 2026-09-11 09:25 UTCEG score recompute
- 2026-09-11 09:24 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-87859?
When was CVE-2026-87859 disclosed?
Is CVE-2026-87859 actively exploited?
What is the CVSS score of CVE-2026-87859?
How do I remediate CVE-2026-87859?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-87859
Is Your Infrastructure Affected by CVE-2026-87859?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.