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

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.

公開: 2026-06-03 最終更新: 2026-06-17 Assigner: ce714d77-add3-4f53-aff5-83d477b104bb ソース: ce714d77-add3-4f53-aff5-83d477b104bb

総合評価: CVE-2026-5078 は低リスク(26.8/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.24%、15 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2026-5078 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.05% 0.24% +0.19%
2 2026-06-09 0.03% 0.05% +0.02%
3 2026-06-03 0.03%

EPSS の全履歴 (全 3 件)

CVE-2026-5078 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 1.4 ce714d77-add3-4f53-aff5-83d477b104bb

CVE-2026-5078 の弱点分類(列挙)

CVE-2026-5078 の GitHub Security Advisory

GHSA-4vj7-5mj6-jm8m · 深刻度: medium · エコシステム: npm — morgan vulnerable to Log Forging via unneutralized control characters in :remote-user

CVE-2026-5078 の OS トラッカー

vendor priority summary link
ubuntu medium CVE-2026-5078 medium priority: Ubuntu including 1 source packages (node-morgan), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 5. https://ubuntu.com/security/CVE-2026-5078

CVE-2026-5078 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
morgan_project morgan >= 1.2.0, < 1.11.0 cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:*

CVE-2026-5078 の参考情報

cvelogic Threat Intelligence