CVE-2026-5078: Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the Authoriza
CVE-2026-5078 is a medium-severity flaw (CVSS 5.3) affecting morgan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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. T
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 74%) |
| CISA exploited list | No |
| Weakness | CWE-117 |
| Published | 2026-06-03 |
| Last modified | 2026-07-22 |
Last updated 2026-07-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-5078?
morgan: upgrade to 1.11.0. Exact commands for each OS are on this page.
Is CVE-2026-5078 being exploited?
CVE-2026-5078 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-5078 affect?
CVE-2026-5078 affects morgan. Severity is medium (CVSS 5.3). 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
How urgent is CVE-2026-5078?
Priority 30/100. Remotely exploitable, no login, no user action