Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the Authorization request header and writes it to the log stream without neutralizing control characters. An unauthenticated attacker can send a crafted Authorization Basic header containing CR or LF bytes to inject forged log lines, breaking the one-request-per-line structure of access logs and enabling log forgery against downstream log consumers. The built-in combined, common, default, and short formats are affected, as well as any custom format that references :remote-user. Affected versions: morgan 1.2.0 through 1.10.1. Patches: upgrade to morgan 1.11.0, which neutralizes control characters in the :remote-user token output. Workarounds: use a custom format string that does not include :remote-user.
Conclusion & alert: CVE-2026-5078 is rated Low Risk (26.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.24%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.24% | +0.19% |
| 2 | 2026-06-09 | 0.03% | 0.05% | +0.02% |
| 3 | 2026-06-03 | — | 0.03% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | ce714d77-add3-4f53-aff5-83d477b104bb |
| vendor | priority | summary | link |
|---|---|---|---|
ubuntu
|
medium | CVE-2026-5078 medium priority: Ubuntu including 1 source packages (node-morgan), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 5. | https://ubuntu.com/security/CVE-2026-5078 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| morgan_project | morgan | >= 1.2.0, < 1.11.0 | cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Third Party Advisory |
| https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m | Mitigation Vendor Advisory |