CVE-2026-5078
MEDIUMDescription
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.
Is your site exposed to CVE-2026-5078?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
EPSS — Exploit Prediction
EPSS estimates the probability that this vulnerability will be exploited in the wild within the next 30 days. A higher score means more likely to be exploited.
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| morgan_project | morgan |
References
Advisories & Patches
Other References
Frequently Asked Questions
What is CVE-2026-5078? +
How severe is CVE-2026-5078? +
What products are affected by CVE-2026-5078? +
How do I check if I'm vulnerable to CVE-2026-5078? +
Related Vulnerabilities
The /v1/upload/sbom endpoint extracts the iss claim from the attacker-supplied JWT with signature verification disabled, then interpolates that string into …
A vulnerability exists in Asset Suite for an authenticated user to manipulate the content of performance related log data or …
Improper output neutralization for logs vulnerability in upKeeper Solutions upKeeper Instant Privilege Access on Windows allows Log Injection-Tampering-Forging. This issue …
wire-ios is an iOS client for the Wire secure messaging application. From Wire iOS 3.111.1 to before 3.124.1, messages that …
NVIDIA Triton Inference Server for Linux and Windows contains a vulnerability where a user can inject forged logs and executable …
Xibo is an Open Source Digital Signage platform with a web content management system and Windows display player software. In …