{"id":"EUVD-2026-34067","enisaUuid":"d5e5f838-237b-35b7-866c-b4aeb7fd13c1","description":"Impact: The morgan logging middleware\u0027s :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.","datePublished":"Jun 3, 2026, 5:56:49 AM","dateUpdated":"Jun 3, 2026, 1:19:32 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","references":"https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m\nhttps://cna.openjsf.org/security-advisories.html\n","aliases":"CVE-2026-5078\nGHSA-4vj7-5mj6-jm8m\n","assigner":"openjs","epss":0.33,"enisaIdProduct":[{"id":"a6f283ea-a912-3ab7-b39a-c43e38f6b9fc","product":{"name":"morgan","vendor":{"name":"n/a"}},"product_version":"1.2.0 ≤1.10.1"}],"enisaIdVendor":[{"id":"3d0f98fc-9c8f-39ec-b918-58e8748de07f","vendor":{"name":"morgan"}}],"enisaIdVulnerability":[{"id":"1f482c90-80b8-3224-baeb-890421b2e2e8","vulnerability":{"id":"GHSA-4vj7-5mj6-jm8m","description":"morgan vulnerable to Log Forging via unneutralized control characters in :remote-user","datePublished":"Jul 10, 2026, 2:32:15 PM","dateUpdated":"Jul 10, 2026, 2:32:15 PM","baseScore":0.0,"references":"https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-5078\nhttps://cna.openjsf.org/security-advisories.html\nhttps://github.com/expressjs/morgan\n","enisa_id":"EUVD-2026-34067\n","aliases":"GHSA-4vj7-5mj6-jm8m\nCVE-2026-5078\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:52:09 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"55ed7ce2-d0c5-3504-be9f-956251a374a8","vulnerability":{"id":"CVE-2026-5078","description":"Impact: The morgan logging middleware\u0027s :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.","datePublished":"Jun 3, 2026, 5:56:49 AM","dateUpdated":"Jun 3, 2026, 1:19:32 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","references":"https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m\nhttps://cna.openjsf.org/security-advisories.html\n","enisa_id":"EUVD-2026-34067\n","assigner":"openjs","epss":0.33,"dataProcessed":"Nov 15, 2026, 7:21:17 AM","vulnerabilityProduct":[{"id":"550bed39-79a9-36ce-b176-008780493eae","product":{"name":"morgan","vendor":{"name":"n/a"}},"product_version":"1.2.0 ≤1.10.1"}],"vulnerabilityVendor":[{"id":"07316f6a-63ac-399b-8183-c78d0b9b0875","vendor":{"name":"morgan"}}]}}],"enisaIdAdvisory":[{"id":"59bc5a84-a935-3caf-994c-68229d32fe65","advisory":{"id":"RHSA-2026:38236","description":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","summary":"An update for Red Hat Hardened Images RPMs is now available.","datePublished":"Jul 11, 2026, 4:58:36 AM","dateUpdated":"Nov 7, 2026, 5:57:31 AM","baseScore":0.0,"references":"https://access.redhat.com/errata/RHSA-2026:38236\nhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_38236.json\n","aliases":"CVE-2026-5078\nCVE-2026-6733\nCVE-2026-6734\nCVE-2026-9678\nCVE-2026-9679\nCVE-2026-9697\nCVE-2026-11525\nCVE-2026-12151\nCVE-2026-53550\nCVE-2026-59869\n","source":{"id":9,"name":"csaf_redhat"},"advisoryProduct":[{"id":"078809cf-c44b-356f-b043-bad1fd5d6067","product":{"name":"nodejs24-libs-0:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"0b9e01a2-8432-3978-ac06-880677957401","product":{"name":"nodejs24-npm-1:11.16.0-1.24.18.0.0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"13f0f615-16a3-3ede-9bde-6e52ab53f45e","product":{"name":"nodejs24-devel-1:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"14902a93-47e2-3932-9327-feed9857a364","product":{"name":"v8-13.6-devel-0:13.6.233.17-1.24.18.0.0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"165c10c1-4b15-36f2-9a95-dcfdf6ccf4b9","product":{"name":"nodejs24-bin-0:24.18.0-0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"213fa497-f08c-3492-88bc-51561473858b","product":{"name":"nodejs24-libs-1:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"2a1952b7-273c-3906-ba8f-cb22a8b31d83","product":{"name":"nodejs24-libs-1:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"33b95739-08b2-304d-b9bf-405e052c898e","product":{"name":"nodejs24-0:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"414088e8-a04a-399c-ab79-549d52d2febc","product":{"name":"nodejs24-devel-0:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"4b6fd799-6b86-362a-acda-b1ca51c7b697","product":{"name":"nodejs24-docs-0:24.18.0-0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"4ca4c63a-b4ba-3d42-aba4-cf14644492c3","product":{"name":"nodejs24-bin-1:24.18.0-0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"4fd5f548-6e93-3b5e-bdd8-76cc33a75b9c","product":{"name":"nodejs24-main@src","vendor":{"name":"Red Hat"}}},{"id":"505d97c6-f1ad-3c2c-a3b2-b815b4dc971d","product":{"name":"nodejs24-devel-1:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"51eb02ae-8b81-3b28-89cb-3ef6daa20b67","product":{"name":"nodejs24-npm-bin-1:24.18.0-0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"520b26ca-a9b7-30a3-bc33-586c23492b0a","product":{"name":"nodejs24-full-i18n-1:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"530dfdda-4967-3ccc-b6b7-514cef8b6a0e","product":{"name":"nodejs24-npm-bin-1:24.18.0-0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"540c3abf-e589-3b05-a15e-d217943eaf38","product":{"name":"nodejs24-docs-0:24.18.0-0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"5bd7f5cc-1cbb-3bdf-b9cc-386c703b249b","product":{"name":"nodejs24-bin-0:24.18.0-0.3.hum1@noarch","vendor":{"name":"Red Hat"}}},{"id":"5e1c4c0c-164f-3a4f-87d9-d0bb194d1bfc","product":{"name":"nodejs24-libs-0:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"6438361e-aac4-330a-88b5-07c80f6b04ce","product":{"name":"nodejs24-docs-1:24.18.0-0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"6443bd75-5a20-37aa-935d-1b0904bbe7dc","product":{"name":"nodejs24-main@aarch64","vendor":{"name":"Red Hat"}}},{"id":"69b9d1bd-3467-3207-9316-29d08be5d404","product":{"name":"nodejs24-npm-1:11.16.0-1.24.18.0.0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"6f08dbad-7d14-3e0e-80b0-e157f1eb0663","product":{"name":"v8-13.6-devel-3:13.6.233.17-1.24.18.0.0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"712f2a58-66a3-3830-8e9e-a467ee59714a","product":{"name":"nodejs24-full-i18n-0:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"730b239b-dc68-3a8e-9683-54478d7be4a1","product":{"name":"nodejs24-bin-1:24.18.0-0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"73445bbc-2899-37d8-b8ac-b9d5705bff13","product":{"name":"nodejs24-1:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"7619b698-a21a-3b5a-af2e-1fc5845dd52b","product":{"name":"nodejs24-0:24.18.0-0.3.hum1@src","vendor":{"name":"Red Hat"}}},{"id":"7901de19-e6c5-3e12-8ebc-0aba80333991","product":{"name":"nodejs24-main@x86_64","vendor":{"name":"Red Hat"}}},{"id":"791437cc-a450-3d74-bf5a-c628ffc61efe","product":{"name":"nodejs24-devel-0:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"83bf1876-d02e-33e7-b4a0-dc3f85c8d822","product":{"name":"nodejs24-npm-bin-0:24.18.0-0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"867d91d1-7c9e-3b29-9028-80f817cc7947","product":{"name":"nodejs24-1:24.18.0-0.3.hum1@src","vendor":{"name":"Red Hat"}}},{"id":"90101228-e04e-3bdd-b7d5-9803905b8aa6","product":{"name":"nodejs24-bin-0:24.18.0-0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"93dffdfd-f8eb-3288-a4a9-aa7743c9167c","product":{"name":"nodejs24-npm-0:11.16.0-1.24.18.0.0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"99b01b19-0818-3bb6-b0f4-c6c191996327","product":{"name":"nodejs24-full-i18n-1:24.18.0-0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"a67371c1-1b8b-3067-a104-a08909b0bdce","product":{"name":"nodejs24-0:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"b60aca11-d590-3fed-9c52-df199ba878c0","product":{"name":"v8-13.6-devel-3:13.6.233.17-1.24.18.0.0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"d17993f7-315e-3299-b33f-9dea4cac8519","product":{"name":"nodejs24-npm-0:11.16.0-1.24.18.0.0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"d24d7c87-1b31-3827-87c1-1d0b073b4cff","product":{"name":"nodejs24-npm-bin-0:24.18.0-0.3.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"d9be215a-d571-3167-a186-d1f4f456f49b","product":{"name":"nodejs24-full-i18n-0:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"e05adb21-6f7e-35eb-8cc2-97bb9f669eed","product":{"name":"Red Hat Hardened Images","vendor":{"name":"Red Hat"}}},{"id":"e31669c2-8311-3fc6-abef-245ce834130c","product":{"name":"nodejs24-1:24.18.0-0.3.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"e3b11250-1566-3cec-9f5a-f10bdd6a69f3","product":{"name":"v8-13.6-devel-0:13.6.233.17-1.24.18.0.0.3.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"f10e2ba7-a4d5-3f18-9ef6-0cceea2f2f78","product":{"name":"nodejs24-main@noarch","vendor":{"name":"Red Hat"}}},{"id":"f83b1bb5-2a26-3dec-a57e-f497b072d005","product":{"name":"nodejs24-docs-1:24.18.0-0.3.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}}]}}]}