SCA: security update for morgan (GHSA-4vj7-5mj6-jm8m)

medium Tenable Cloud Security Plugin ID 444620

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-5078)

Solution

Update the morgan library and its related packages to version 1.11.0 or later.

See Also

https://github.com/advisories/GHSA-4vj7-5mj6-jm8m

Plugin Details

Severity: Medium

ID: 444620

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/10/2026

Updated: 7/10/2026

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-5078

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/10/2026

Vulnerability Publication Date: 6/3/2026

Reference Information

CVE: CVE-2026-5078

cwe: CWE-117