DEBIAN-CVE-2026-5078
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.
DEBIAN-CVE-2026-5078
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-5078
node-morgan
Source reference: /affected/0/package/name
- Affected versions
- 1.10.0+~1.9.3-1
Source reference:
/affected/0/versions1.10.1+~1.9.10-1Source reference:
/affected/0/versions1.12.0+~1.9.10-1Source reference:
/affected/0/versions1.12.1+~1.9.10-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-morgan
Source reference: /affected/1/package/name
- Affected versions
- 1.10.0+~1.9.3-1
Source reference:
/affected/1/versions1.10.1+~1.9.10-1Source reference:
/affected/1/versions1.12.0+~1.9.10-1Source reference:
/affected/1/versions1.12.1+~1.9.10-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-morgan
Source reference: /affected/2/package/name
- Affected versions
- 1.10.0+~1.9.3-1
Source reference:
/affected/2/versions1.10.1+~1.9.10-1Source reference:
/affected/2/versions - Fixed versions
- 1.12.0+~1.9.10-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-morgan",
"purl": "pkg:deb/debian/node-morgan?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.10.0+~1.9.3-1",
"1.10.1+~1.9.10-1",
"1.12.0+~1.9.10-1",
"1.12.1+~1.9.10-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-morgan",
"purl": "pkg:deb/debian/node-morgan?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.10.0+~1.9.3-1",
"1.10.1+~1.9.10-1",
"1.12.0+~1.9.10-1",
"1.12.1+~1.9.10-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.0+~1.9.10-1"
}
]
}
],
"package": {
"name": "node-morgan",
"purl": "pkg:deb/debian/node-morgan?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.10.0+~1.9.3-1",
"1.10.1+~1.9.10-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5078.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57778 · Revision 1
- Added to Heist Feed
- Publisher date