CVE-2026-45709
Last modified
CVE-2026-45709 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. 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). EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Axllent | Mailpit | >= 1.28.3, < 1.30.0 |
References
- https://github.com/axllent/mailpit/security/advisories/GHSA-j3fj-qppj-fmmcExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45709?
How severe is CVE-2026-45709?
How do I fix CVE-2026-45709?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45702OP-TEE is a Trusted Execution Environment (TEE) designed as …5.5
- CVE-2026-45703Pimcore is an Open Source Data & Experience Management Platf…6.4
- CVE-2026-45704Pimcore is an Open Source Data & Experience Management Platf…7.1
- CVE-2026-45705OpenSIPS is a Session Initiation Protocol (SIP) server imple…5.3
- CVE-2026-45707n8n-MCP is an MCP server that provides AI assistants access …8.1
- CVE-2026-45708CubeCart is an ecommerce software solution. Prior to 6.7.3, …7.2
- CVE-2026-4571A security flaw has been discovered in SourceCodester Sales …6.5
- CVE-2026-45711Mailpit is an email testing tool and API for developers. Pri…8.2
- CVE-2026-45712Mailpit is an email testing tool and API for developers. Pri…5.9
- CVE-2026-45713Mailpit is an email testing tool and API for developers. Pri…7.5
- CVE-2026-45714CubeCart is an ecommerce software solution. Prior to 6.7.0, …9.1
- CVE-2026-45715Budibase is an open-source low-code platform. Prior to 3.38.…7.7
Are you affected by CVE-2026-45709?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
