CVE & CISA-KEV Catalog

CVE-2026-5078

MEDIUM
5.3
CVSS v3
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.

How to fix

Remediation Available
nodejs24Rocky
Fixed in:main@srcRHSA-2026:38236
Fixed in:main@noarchRHSA-2026:38236
Fixed in:main@x86_64RHSA-2026:38236
Fixed in:main@aarch64RHSA-2026:38236
nodejs24Red Hat / RHEL
Fixed in:main@noarchRHSA-2026:38236
Fixed in:main@aarch64RHSA-2026:38236
Fixed in:main@x86_64RHSA-2026:38236
Fixed in:main@srcRHSA-2026:38236

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

0.25%probability of exploitation in 30 days
16thpercentile

Low risk: more likely to be exploited than 16% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-117 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-43410Medium5.32.4%-Fix
CVE-2022-32549Medium5.32.3%--
CVE-2019-14864Medium6.51.9%-Fix
CVE-2021-42250Medium6.51.8%-Fix
CVE-2024-47083High7.51.6%--
CVE-2020-25646High7.51.4%--
Embed a live status badge for CVE-2026-5078
CVE-2026-5078 severity badge

Markdown

[![CVE-2026-5078](https://tridentstack.com/cve/badge/CVE-2026-5078.svg)](https://tridentstack.com/cve/CVE-2026-5078)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-5078"><img src="https://tridentstack.com/cve/badge/CVE-2026-5078.svg" alt="CVE-2026-5078"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-04.