Skip to main content
No exploitation reportedFix available

CVE-2026-5078

No exploitation reported by the sources we read.

  • Published2026-06-03
  • Fixed in1.11.0
  • WeaknessCWE-117

Am I 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
  1. 2026-06-0308:16CVE publishedNVD

Versions per branch

NVD · OSV
Morgan project morgan
BranchAffectedFixed in
1.x≥ 1.2.0, < 1.11.01.11.0

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 affected
    Affected
    • ≥ 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

  • CVE-2026-5078 Red Hat Product Security17 products fixed · 25 known affected

    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

  • RHSA-2026:38236 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Full record on NVD

Fix

  1. Update Morgan project morgan to 1.11.0
  2. 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/
  3. 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.
  4. No fix available, says the vendor Red Hat Product Security CVE-2026-5078 · 23 productsFix deferred
  5. No fix planned, says the vendor Red Hat Product Security CVE-2026-5078 · 2 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
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

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?

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.

Is CVE-2026-5078 actively exploited?

Active exploitation of CVE-2026-5078 has not been confirmed. Its EPSS score was 0.3% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-5078?

CVE-2026-5078 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

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

Sources for this record