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
Also known as GHSA-j3fj-qppj-fmmc, GO-2026-5446
Mitigation
- Upgrade github.com/axllent/mailpit to 1.30.0 or later.
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
Vulnerability facts
- Affected
- github.com/axllent/mailpit >= 1.28.3, < 1.30.0
- Fixed in
- 1.30.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-918
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/axllent/mailpit | >= 1.28.3, < 1.30.0 | 1.30.0 | osv |
| axllent mailpit | >= 1.28.3, < 1.30.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
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.