DHI-o7dr-oc3u-wml4-3ojr

Source
https://scout.docker.com/v/DHI-o7dr-oc3u-wml4-3ojr
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-o7dr-oc3u-wml4-3ojr
Upstream
Published
2026-11-19T21:02:33Z
Modified
2026-11-27T03:30:32Z
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
## Summary
Details

Summary

Nodemailer's address parser can produce an unexpected recipient address when an RFC 5322 comment follows the domain of an address whose local-part is a quoted string.

For example:

"user"@example.com(x)evil.com

is parsed as:

{
  address: "user@example.com evil.com",
  name: ""
}

The resulting address therefore contains additional attacker-controlled domain text separated by a literal space.

The parsed .address value is subsequently propagated into the SMTP envelope:

src/addressparser/index.ts
        ↓
recipient.address
        ↓
src/mime-node/index.ts
        ↓
envelope.to

The envelope construction uses the parsed address without another strict address validation step.

This appears to be a variant of the RFC 5322 comment parsing issue addressed by GHSA-cc9r-2j5m-2m83, but it follows a different parser path when the local-part is quoted.

Reproduction

Input:

"user"@example.com(x)evil.com

Observed parser output:

address: "user@example.com evil.com"
name: ""

A second example:

"a"@b.com(c)d.com(e)f.com

produces:

address: "a@b.com d.com f.com"
name: ""

For comparison, the corresponding unquoted form:

user@example.com(x)evil.com

takes a different code path and is handled by the existing protection differently.

Technical Details

The issue is caused by different parsing behavior for quoted and unquoted local-parts.

The quoted-local-part variant allows the comment-separated trailing domain atoms to remain in the resulting .address value.

That value is then used when constructing the message envelope:

envelope.to = recipients.map(to => to.address as string)

No additional strict recipient validation is performed at this boundary.

Security Impact

The confirmed impact is that attacker-controlled comment content can result in a malformed/ambiguous recipient address being accepted by the parser and propagated into envelope.to.

The reporter did not confirm successful delivery to an unintended recipient through a real SMTP server using this exact quoted-local-part variant.

The remaining question is how real SMTP servers and other Nodemailer transports handle an envelope recipient containing a value such as:

user@example.com evil.com

An end-to-end SMTP test is required to determine whether this parser behavior results in an exploitable delivery or recipient-validation bypass.

Relationship to GHSA-cc9r-2j5m-2m83

This report is intended as a potential variant/follow-up to GHSA-cc9r-2j5m-2m83.

The existing advisory addresses RFC 5322 comment handling in email domains. This report identifies a separate parser path involving quoted local-parts that can preserve additional domain-like content in the normalized address.

Please evaluate whether this behavior is already covered by the existing fix or represents a remaining parser variant.

Suggested Fix

The parser should consistently reject or correctly terminate addresses containing trailing domain atoms after RFC 5322 comments, regardless of whether the local-part is quoted.

In particular:

"user"@example.com(x)evil.com

should not result in:

user@example.com evil.com

The envelope-generation layer should also avoid assuming that a parser-produced address is safe for SMTP delivery without appropriate validation.

Verification Status

Confirmed:

  • Parser accepts the quoted-local-part variant.
  • Parser produces an address containing additional attacker-controlled text.
  • The resulting address is propagated into envelope.to.

Not confirmed by reporter:

  • Successful delivery through a real SMTP server.
  • Delivery to an unintended recipient.
  • Exploitability against a specific downstream SMTP implementation.
References

Affected packages

Docker Hardened Images:Alpine:3.23
logto-1

Package

Name
logto-1
Purl
pkg:apk/dhi/logto-1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.45.0-r0

Affected versions

1.*
1.45.0-r0
1.45.0-r1
1.45.0-r2
1.45.0-r3
1.45.0-r4
1.46.0-r0
1.46.0-r1
1.46.0-r2
1.46.0-r3
1.46.0-r4
1.46.0-r5
1.46.0-r6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
Docker Hardened Images:Alpine:3.24
logto-1

Package

Name
logto-1
Purl
pkg:apk/dhi/logto-1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.45.0-r0

Affected versions

1.*
1.45.0-r0
1.45.0-r1
1.45.0-r2
1.45.0-r3
1.45.0-r4
1.46.0-r0
1.46.0-r1
1.46.0-r2
1.46.0-r3
1.46.0-r4
1.46.0-r5
1.46.0-r6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
Docker Hardened Images:Debian:13
langfuse-2

Package

Name
langfuse-2
Purl
pkg:deb/dhi/langfuse-2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.95.12-0

Affected versions

2.*
2.95.12-0
2.95.12-1
2.95.12-2
2.95.12-3
2.95.12-4
2.95.12-5
2.95.12-6
2.95.12-7
2.95.12-8
2.95.12-9
2.95.12-10
2.95.12-11
2.95.12-12
2.95.12-13

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
langfuse-3

Package

Name
langfuse-3
Purl
pkg:deb/dhi/langfuse-3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.225.0-0

Affected versions

3.*
3.225.0-0
3.225.0-1
3.225.1-0
3.225.1-1
3.225.2-0
3.225.3-0
3.225.4-0
3.225.5-0
3.225.5-1
3.225.7-0
3.225.7-1
3.225.8-0
3.225.8-1
3.225.9-0
3.225.10-0
3.225.11-0
3.225.12-0
3.225.12-1
3.225.12-2
3.225.14-0
3.225.15-0
3.225.15-1
3.225.15-2
3.227.0-0
3.227.0-1
3.227.1-0
3.227.1-1
3.227.1-2
3.227.1-3

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
langfuse-4

Package

Name
langfuse-4
Purl
pkg:deb/dhi/langfuse-4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.1-0

Affected versions

4.*
4.3.1-0
4.4.0-0
4.5.0-0
4.5.0-1
4.6.0-0
4.9.0-0
4.10.0-0
4.11.0-0
4.12.0-0
4.13.0-0
4.14.0-0
4.15.0-0
4.26.0-0
4.36.1-0
4.38.0-0
4.41.0-0
4.43.0-0
4.44.0-0
4.46.0-0
4.47.0-0
4.48.0-0
4.50.0-0
4.53.0-0
4.63.0-0
4.67.0-0
4.69.0-0
4.70.0-0
4.70.1-0
4.71.0-0
4.71.0-1
4.72.0-1
4.74.0-0
4.75.0-0
4.76.0-0
4.76.0-1
4.77.0-0
4.78.0-0
4.79.0-0
4.79.0-1
4.80.0-0
4.80.0-1
4.81.0-0
4.82.0-0
4.83.0-0
4.84.0-0
4.84.0-1
4.86.0-0
4.87.0-0
4.88.0-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
langfuse-worker-3

Package

Name
langfuse-worker-3
Purl
pkg:deb/dhi/langfuse-worker-3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.174.1-1

Affected versions

3.*
3.174.1-1
3.186.0-0
3.187.0-0
3.187.0-1
3.188.0-0
3.191.0-0
3.191.0-1
3.193.0-0
3.194.0-0
3.194.1-0
3.194.1-1
3.195.0-0
3.197.1-0
3.198.0-0
3.200.0-0
3.201.1-0
3.202.1-0
3.203.1-0
3.203.3-0
3.204.0-0
3.205.0-0
3.205.1-0
3.206.0-0
3.208.0-0
3.210.0-0
3.212.0-0
3.213.0-0
3.214.0-0
3.216.0-0
3.216.0-1
3.218.0-0
3.219.0-0
3.221.1-0
3.222.0-0
3.222.0-1
3.223.0-0
3.224.0-0
3.224.1-0
3.224.1-1
3.224.2-0
3.224.2-1
3.224.3-0
3.224.3-1
3.225.0-0
3.225.0-1
3.225.0-2
3.225.0-3
3.225.1-0
3.225.1-1
3.225.1-2
3.225.3-0
3.225.3-1
3.225.4-0
3.225.5-0
3.225.7-0
3.225.8-0
3.225.9-0
3.225.10-0
3.225.11-0
3.225.12-0
3.225.12-1
3.225.14-0
3.225.15-0
3.225.15-2
3.227.0-0
3.227.0-1
3.227.0-2
3.227.1-0
3.227.1-1
3.227.1-2
3.227.1-3
3.227.1-4
3.227.1-5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
logto-1

Package

Name
logto-1
Purl
pkg:deb/dhi/logto-1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.45.0-0

Affected versions

1.*
1.45.0-0
1.45.0-1
1.45.0-2
1.45.0-3
1.45.0-4
1.46.0-0
1.46.0-1
1.46.0-2
1.46.0-3
1.46.0-4
1.46.0-5
1.46.0-6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"
uptime-kuma-2

Package

Name
uptime-kuma-2
Purl
pkg:deb/dhi/uptime-kuma-2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0-0

Affected versions

2.*
2.5.0-0
2.5.0-1
2.5.0-2
2.5.3-0
2.5.3-1
2.5.4-0
2.5.5-0
2.5.5-1
2.5.6-0
2.5.7-0
2.5.7-1
2.5.9-0
2.5.9-1
2.5.10-0
2.5.11-0
2.5.11-1
2.5.11-2
2.5.11-3
2.5.12-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-o7dr-oc3u-wml4-3ojr.json"