Improper Output Neutralization for Logs in morgan - CVE-2026-5078

 

Improper Output Neutralization for Logs in morgan - CVE-2026-5078

Published: August 28, 2026


Vulnerability identifier: #VU146051
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-5078
CWE-ID: CWE-117
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to forge log entries.

The vulnerability exists due to improper output neutralization for logs in the :remote-user token when processing a crafted Authorization header. A remote attacker can send a crafted Authorization: Basic header containing CR/LF characters to forge log entries.

The built-in combined, common, default, and short formats are affected, as well as custom formats that include :remote-user.


Affected software

morgan

How to mitigate CVE-2026-5078

Install security update from vendor's website.

morgan - update to 1.11.0

External References

Related Security Bulletins