{"id":"DEBIAN-CVE-2026-5078","details":"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.","modified":"2026-09-03T16:00:07.845588612Z","published":"2026-06-03T08:16:19.743Z","upstream":["CVE-2026-5078"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-5078"}],"affected":[{"package":{"name":"node-morgan","ecosystem":"Debian:12","purl":"pkg:deb/debian/node-morgan?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0+~1.9.3-1","1.10.1+~1.9.10-1","1.12.0+~1.9.10-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"}},{"package":{"name":"node-morgan","ecosystem":"Debian:13","purl":"pkg:deb/debian/node-morgan?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0+~1.9.3-1","1.10.1+~1.9.10-1","1.12.0+~1.9.10-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"}},{"package":{"name":"node-morgan","ecosystem":"Debian:14","purl":"pkg:deb/debian/node-morgan?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.0+~1.9.10-1"}]}],"versions":["1.10.0+~1.9.3-1","1.10.1+~1.9.10-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}