Morgan's :remote-user token extracts the Basic auth username from the Authorization header and writes it to the log stream without neutralizing control characters. An attacker can send a crafted Authorization: Basic header containing CR/LF characters to inject forged log lines, corrupting the one-request-per-line structure of access logs.
The built-in combined, common, default, and short formats are affected, as well as any custom format that includes :remote-user.
Users should upgrade to version 1.11.0.
Use a custom format string that does not include :remote-user.
{
"cwe_ids": [
"CWE-117"
],
"github_reviewed": true,
"github_reviewed_at": "2026-07-10T14:32:15Z",
"nvd_published_at": "2026-06-03T08:16:19Z",
"severity": "MODERATE"
}