UBUNTU-CVE-2026-5078

Source
https://ubuntu.com/security/CVE-2026-5078
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5078.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-5078
Upstream
  • CVE-2026-5078
Published
2026-06-03T08:16:00Z
Modified
2026-06-11T13:01:58Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/ubuntu/node-morgan?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.10.0-2",
            "binary_name": "node-morgan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5078.json"

Ubuntu:24.04:LTS / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/ubuntu/node-morgan?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10.0+~1.9.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.10.0+~1.9.3-1",
            "binary_name": "node-morgan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5078.json"

Ubuntu:25.10 / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/ubuntu/node-morgan?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10.0+~1.9.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.10.0+~1.9.3-1",
            "binary_name": "node-morgan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5078.json"

Ubuntu:26.04:LTS / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/ubuntu/node-morgan?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10.0+~1.9.3-1
1.10.1+~1.9.10-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.10.1+~1.9.10-1",
            "binary_name": "node-morgan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5078.json"