{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5078","published":"2026-06-03T08:16:19.743000Z","last_modified":"2026-07-22T19:10:00.120000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"ce714d77-add3-4f53-aff5-83d477b104bb","primary":false},"auth":false,"cwes":["CWE-117"],"cpes":[{"criteria":"cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:*","part":"a","vendor":"morgan_project","product":"morgan","version_start_including":"1.2.0","version_end_excluding":"1.11.0"}],"cpes_truncated":false,"vendors":["morgan_project"],"products":["morgan_project/morgan"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4vj7-5mj6-jm8m","ecosystem":"npm","name":"morgan","purl":"pkg:npm/morgan","ranges":[{"introduced":"1.2.0","fixed":"1.11.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-5078/","html_en":"/en/cve/CVE-2026-5078/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5078","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5078"},"untrusted":{"vendor_name":"Morgan Project","product_name":"Morgan","desc_en":"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.","affected":[{"untrusted_vendor":"morgan","untrusted_product":"morgan","versions":[]}],"references":[{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Third Party Advisory"]},{"url":"https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m","tags":["Mitigation","Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:38236","url":"https://access.redhat.com/errata/RHSA-2026:38236","published":"2026-07-13T10:07:29+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update"}}]}