1. Accueil
  2. Vulnérabilités
  3. CVE-2026-5078

CVE-2026-5078

Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the…

Publiée le 3 juin 2026 · modifiée le 22 juil. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 31/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Morgan project (1 ligne(s))
Morgan project
ProduitVersionsCorrigé dansSource
Morgan de 1.2.0 (inclus) à 1.11.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1256)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1, CNA:ce714d77-add3-4f53-aff5-83d477b104bb)
Faiblesse
CWE-117 · Autre (CWE-117)

Comment sont obtenues et calculées ces données