# CVE-2026-45709: Mailpit has an incomplete fix for GHSA-6jxm: HTML check still permits SSRF to private/loopback/IMDS via missing IP-filter dialer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-j3fj-qppj-fmmc, GO-2026-5446
- **Published:** 2026-05-19T15:52:16.000Z
- **Modified:** 2026-10-24T20:10:00.137Z

## Who should check

- Projects that depend on Go package github.com/axllent/mailpit (\>= 1.28.3, \< 1.30.0)
- Anyone running axllent mailpit \>= 1.28.3, \< 1.30.0

## Description

Mailpit is an email testing tool and API for developers. The fix for GHSA-6jxm-fv7w-rw5j (CVE-2026-23845, "Server-Side Request Forgery (SSRF) via HTML Check API"), shipped in mailpit \`v1.28.3\`, hardened \`internal/htmlcheck/css.go::downloadCSSToBytes\` with a 5MB size cap, a \`text/css\` content-type check, login-info stripping in \`isValidURL\`, and an opt-in \`--block-remote-css-and-fonts\` config flag — but did not add the IP-filtering dialer that the same codebase already uses on the two sister SSRF endpoints (the proxy handler and link-check). Prior to version 1.30.0, \`internal/htmlcheck/css.go::newSafeHTTPClient\` is mis-named — it builds an \`http.Client\` whose \`Transport.DialContext\` calls \`net.Dialer.DialContext\` directly with no IP allowlisting. As a result, the SSRF originally reported by Bao Anh Phan still permits the server to dial loopback, private, link-local, and any other reserved/multicast range, provided the target replies with \`HTTP/200\` and a content-type beginning with \`text/css\`. With redirect-following (\`CheckRedirect\` allows redirects to any \`isValidURL\` URL with no IP filter), an attacker-controlled public site can redirect mailpit's request into the private network without ever appearing in the email's HTML. In the default mailpit deploy (no UI auth, no SMTP auth, port 1025/8025 exposed), this is an unauthenticated, network-reachable SSRF triggered by sending an HTML email and then issuing one HTTP \`GET\` to \`/api/v1/message/{id}/html-check\`. Version 1.30.0 contains an updated fix.

## Affected and fixed versions

- Go `github.com/axllent/mailpit`: affected \>= 1.28.3, \< 1.30.0; fixed 1.30.0 (osv)
- axllent mailpit: \>= 1.28.3, \< 1.30.0 (cvelist)

## Mitigation

- Upgrade github.com/axllent/mailpit to 1.30.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45709. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45709.md
Affected: github.com/axllent/mailpit >= 1.28.3, < 1.30.0
Fixed in: 1.30.0

Steps:
1. Search this machine and project for github.com/axllent/mailpit (Go), axllent mailpit: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45709 being exploited?

There is no confirmed exploitation: CVE-2026-45709 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45709?

Medium: CVSS 5.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-45709?

github.com/axllent/mailpit \>= 1.28.3, \< 1.30.0.

### Is there a fix for CVE-2026-45709?

Yes. Fixed in 1.30.0. Upgrade github.com/axllent/mailpit to 1.30.0 or later.

### How do I check if I'm affected by CVE-2026-45709?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/axllent/mailpit/security/advisories/GHSA-j3fj-qppj-fmmc>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-45709>
- other: <https://github.com/axllent/mailpit/releases/tag/v1.30.0>
- other: <https://github.com/axllent/mailpit>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45709>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j3fj-qppj-fmmc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5446> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-45709> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45709>
