CVE-2026-5078Patch(morgan_project / morgan)

LOWCVSS 5.3 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch morgan_project morgan systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-117

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • morgan

Threat summary

  • Patch or workaround signal is available
  • 3 mentions across 3 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 3 signals
  • General: 1 classified signal
  • Disclosure: 1 classified signal
  • Peaked 2d ago at 1 mentions (2026-06-02); latest day: 1
  • 3 total mentions across 3 days

Affected systems

Products
morgan

Deep dive

Activity timeline3 mentions / 3d
00111Mentions · 2026-06-02: 1Mentions · 2026-06-03: 1Mentions · 2026-09-09: 1Patch / Workaround · 2026-06-02: 1Technical Details · 2026-06-02: 1Technical Details · 2026-06-03: 1Technical Details · 2026-09-09: 106-0206-0309-09
Signal classification3 categories
Patch
133.3%
General
133.3%
Disclosure
133.3%
Referenced assets3 URLs
Classification over time
DateTotalLabels
2026-06-021
Patch1
2026-06-031
General1
2026-09-091
Disclosure1
Full discourse3 posts
  • Ulises Gascón@kom_256
    Patch

    🚨 Moderate-severity security fix in morgan@1.11.0 just released! Patches CVE-2026-5078 — morgan vulnerable to Log Forging via unneutralized control characters in :remote-user https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m

    Post summary

    The message announces the release of a security fix for CVE-2026-5078, detailing the vulnerability type and providing a link to the official patch advisory.

    00030169
    5.5K followersView on X
  • DailyCVE@dailycve
    Disclosure

    🟠 Morgan (Nodejs), Log Injection Incomplete Fix, #CVE-2026-5078 (Medium) -DC-Sep2026-2275 https://dailycve.com/morgan-nodejs-log-injection-incomplete-fix-cve-2026-5078-medium-dc-sep2026-2275/

    Post summary

    The tweet announces the existence of CVE-2026-5078, a Log Injection vulnerability in Morgan with a Medium severity and notes an incomplete fix, but it does not provide PoC, exploit details, or evidence of active exploitation.

    0000042
    237 followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    General

    CVE-2026-5078 Log Injection Vulnerability in Morgan Logging Middleware 1.2.0-1.10.1 https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-5078

    Post summary

    The text notes the existence of CVE‑2026‑5078—a log injection issue in Morgan Logging Middleware—but offers only the vulnerability name and affected versions, with no proof‑of‑concept, exploit, patch, or active exploitation details.

    0000045
    4.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appmorgan_projectmorgan-node.js-

Explore more