DEBIAN-CVE-2026-5078

Source
https://security-tracker.debian.org/tracker/CVE-2026-5078
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-5078
Upstream
Published
2026-06-03T08:16:19Z
Modified
2026-09-03T16:00:07Z
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
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

Debian:12 / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/debian/node-morgan?arch=source&distro=bookworm

Affected ranges

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

Affected versions

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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"

Debian:13 / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/debian/node-morgan?arch=source&distro=trixie

Affected ranges

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

Affected versions

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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"

Debian:14 / node-morgan

Package

Name
node-morgan
Purl
pkg:deb/debian/node-morgan?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.12.0+~1.9.10-1

Affected versions

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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"