CVE-2026-5078
No exploitation reported by the sources we read.
- Published2026-06-03
- Fixed in1.11.0
- WeaknessCWE-117
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2026-06-0308:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.2.0, < 1.11.0 | 1.11.0 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As openjs, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- morganother versions: not affectedAffected
- ≥ 1.2.0, ≤ 1.10.1no fix statedsemver
Not affected = 1.11.0
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-06-03
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- azuriteChainguardall versions · fixed in 3.35.0-r3
- gristMinimOSall versions · fixed in 1.7.18-r0
- morganTuxCare:npmfrom 1.5.3-tuxcare.0 · fixed in 1.5.3-tuxcare.2
- morganTuxCare:npmfrom 1.6.1-tuxcare.0 · fixed in 1.6.1-tuxcare.1
- morganTuxCare:npmfrom 1.10.1-tuxcare.0 · fixed in 1.10.1-tuxcare.1
- node-morganUbuntu:26.10all versions · no fixed version listed
- node-morganUbuntu:26.04:LTSall versions · no fixed version listed
- node-morganUbuntu:25.10all versions · no fixed version listed
14 more package ranges on OSV.dev
Vendor advisories
morgan: morgan: Log forgery due to unneutralized control characters
openshift-sandboxed-containers/osc-pccs as a component of Confidential Compute Attestation · cryostat/cryostat-openshift-console-plugin-rhel9 as a component of Cryostat 4 · rhdh/rhdh-hub-rhel9 as a component of Red Hat Developer Hub 1 · +22 more
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
Fix
- Update Morgan project morgan to 1.11.0
- Vendor fix Red Hat Product Security RHSA-2026:38236 · 17 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Workaround from the vendor Red Hat Product Security RHSA-2026:38236 · 19 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2026-5078 · 23 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2026-5078 · 2 productsWill not fix
Advisories and patches
- github.comMitigation · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-06-03
- CNACVSS 3.15.3known since 2026-10-23
- CNAweakness (CWE)CWE-117known since 2026-10-23
- FIRST EPSSEPSS score0.3 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-07-10
Identifiers
- CGA-2gf8-3vmc-6g5qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2xq7-664v-h39csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4w35-j7q3-7chpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5794-5g5x-28q9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5crg-pp8q-3jxcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6cgm-qrq7-74rmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-848p-j8fg-p795same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9hph-7663-p6hmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9r8v-wqvv-p9mwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h2fc-mmx7-7mc5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j7qh-x86r-g34csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mv6q-2x9w-jp4hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p33v-q6cm-m98rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w4vg-4c8x-24p3same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-34067same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4vj7-5mj6-jm8msame flawGitHub Advisory Database · CC-BY-4.0
- MINI-2c9r-9w23-79prsame flawMinimOS · LicenseRef-unstated
- MINI-9296-w7rg-c654same flawMinimOS · LicenseRef-unstated
- MINI-gmrj-qvqc-26q4same flawMinimOS · LicenseRef-unstated
- RHSA-2026:38236advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Published
- 2026-06-03
- Last modified
- 2026-07-22
- NVD status
- Analyzed
- GitHub advisory
- GHSA-4vj7-5mj6-jm8m
Frequently asked questions
What is CVE-2026-5078?
Is CVE-2026-5078 actively exploited?
What is the CVSS score for CVE-2026-5078?
Running morgan? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4vj7-5mj6-jm8m
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0