5.3

CVE-2026-5078: morgan vulnerable to Log Forging via unneutralized control characters in :remote-user

Analyzed
AliasesUBUNTU-CVE-2026-5078DEBIAN-CVE-2026-5078CGA-5crg-pp8q-3jxc
Published 03-06-2026Last modified 03-06-2026

Vulnerability summary

CVE-2026-5078 is a medium (CVSS 5.3) Improper Output Neutralization for Logs vulnerability in morgan_project morgan. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 26.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 03-06-2026
    PublishedVulnerability first disclosed.
  2. 03-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

Decrease -0.08 pp

From 0.41% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard5 products
  • azurite< 3.35.0-r3
  • tileserver-gl< 5.6.0-r10
  • tileserver-gl-fips< 5.6.0-r9
  • wazuh-dashboard-security-plugin< 4.14.7-r14
  • wazuh-dashboard-security-plugin-fips< 4.14.7-r14
Debian1 product
  • node-morganAll versions (No fix recorded) | < 1.12.0+~1.9.10-1
Morgan1 product
Morgan_project1 product
Npm1 product
  • morgan≥ 1.2.0, < 1.11.0
Ubuntu1 product
  • node-morganAll versions (No fix recorded)
Wolfi1 product
  • tileserver-gl< 5.6.0-r10

7 vendors · 11 products

References

8 links