NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #335 by repository stars
Latest stable
v1.34.0
Last release 5 days ago
17 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
377 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
This release fixes a security vulnerability ( GHSA-v887-64wg-qqc9 ): a specially crafted message could crash Mailpit's SMTP server. Updating is recomm…
This release fixes a security vulnerability (GHSA-v887-64wg-qqc9): a specially crafted message could crash Mailpit's SMTP server. Updating is recommended.
It also includes a large number of smaller fixes and hardening changes from a review of the codebase. Almost all of them are under the hood: tighter limits on memory and CPU use, more careful parsing of messages and headers, and better handling of edge cases. For most users nothing should look or behave differently.
recipient-allowlist will now stop Mailpit from starting: rename it to allowed-recipients.return-path, --max-age, integer environment variables, and empty authentication credentials.Retry-After) when too many messages are being sent at once.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Resolve the latest message ID in a single helper
latest message ID in a single helperSender address list when releasing a messageDELETE /api/v1/messages body (#766)latest as the ID in the release and thumbnail endpoints (#768)latest ID handling and add empty caseNothing published for this version
Add optional Subject prefix for SMTP relay & forward
Nothing published for this version
This release includes security fixes, so upgrading is strongly recommended.
A maliciously crafted image attached to an email could make the thumbnail generator (used by the web UI and API) spin in an infinite loop. The exif reader has been replaced with a minimal in-tree EXIF orientation reader that only reads the first block and never follows pointers.
This release also strips <base> and meta refresh tags from /view/{ID}.html output, and limits concurrent HTTP, SMTP and POP3 connections to 1000 each.
Due to timing, these security fixes have released together with new UI features in this release.
Nothing published for this version
Remove expired envelope cache entries and clear them on auto-prune
Nothing published for this version
Add gosec #nosec annotations and set explicit Content-Type on error responses
_ and % in search terms so they match literally (#742)& and \ in address searches (#743)Prevent duplicate messages from being added in websocket handlers
Limit maximum MIME parts parsed per message to 500
This release includes a security fix, so upgrading is strongly recommended.
A vulnerability was fixed which allowed animated image attachments (APNG, GIF, WebP) to bypass the thumbnail pixel budget, potentially causing multi-gigabyte memory allocation when the thumbnail was rendered.
Many thanks to the security researcher who responsibly disclosed this issue and helped improve Mailpit's security.
Nothing published for this version
This release adds an optional feature to mitigate DNS rebinding attacks ( read more ), as well as other hardening fixes.
This release adds an optional feature to mitigate DNS rebinding attacks (read more), as well as other hardening fixes.
--allowed-hosts flag to mitigate DNS rebinding against the APINothing published for this version
Add debounced search refresh for filtered views on new messages
Add software license information
Many thanks to the security researcher who responsibly disclosed a security issue, helping to improve Mailpit's security.
Many thanks to the security researcher who responsibly disclosed a security issue, helping to improve Mailpit's security.
One security vulnerability affecting publicly exposed (SMTP) instances of Mailpit has been fixed in this release. Details are provided below.
One security vulnerability affecting publicly exposed (SMTP) instances of Mailpit has been fixed in this release. Details are provided below.
Many thanks to the security researcher who responsibly disclosed this issue and helped improve Mailpit's security.
Two security vulnerabilities affecting publicly exposed (SMTP) instances of Mailpit have been fixed in this release. Details are provided below.
Two security vulnerabilities affecting publicly exposed (SMTP) instances of Mailpit have been fixed in this release. Details are provided below.
Many thanks to the security researcher who responsibly disclosed these issues and helped improve Mailpit's security.
Nothing published for this version
Add link check rate limiting and caching mechanism
This release includes a security fix which closes an additional IPv6 address bypasses that could allow the Link Check API to reach internal services o…
This release includes a security fix which closes an additional IPv6 address bypasses that could allow the Link Check API to reach internal services or cloud metadata endpoints.
Nothing published for this version
Extend request body size cap to all JSON API endpoints (GHSA-28pq-6qxg-wg5r)
This release introduces a default message size limit for both SMTP and api/v1/send to prevent DoS attacks via unbounded message sizes. This limit can
This release introduces a default message size limit for both SMTP and api/v1/send to prevent DoS attacks via unbounded message sizes. This limit can be configured or disabled as needed, but the default is set to 50MB to provide a reasonable safeguard against abuse and align with some common email server limits.
A big thanks to the security researchers who reported these issues and helped improve Mailpit's security!
SMTP DATA and /api/v1/send body sizes (GHSA-fpxj-m5q8-fphw)mailpit dump --http <instance> via attacker-controlled message IDs (GHSA-qx5x-85p8-vg4j)--max-message-size flag and refactor message handling--max-message-size flag and refactor message handlingXCLIENT args before processingnpm ciThis is just a security release to update all Go, node and docker image dependencies.
This is just a security release to update all Go, node and docker image dependencies.
Bump docker/login-action from 3 to 4
Add sandbox attribute to message iframe for extra layer of security (already protected via CSP headers)
Add filter functionality to message headers tab
Enhance CORS origin handling to respect host:port distinctions
EHLO/HELO in SMTP communicationis:tagged filterThis security release fixes CVE-2026-27808: users could use the Link Check API to probe internal network IPs/hostnames. The exploit required user acce…
This security release fixes CVE-2026-27808: users could use the Link Check API to probe internal network IPs/hostnames. The exploit required user access to both the API and the SMTP server, so the risk is limited to users who have publicly-accessible Mailpit instances with no authentication on both the API and SMTP server.
Key change:
--allow-internal-http-requests (env MP_ALLOW_INTERNAL_HTTP_REQUESTS=true). When enabled, the Link Check API and UI screenshot proxy may access internal-network IPs.Action required:
A huge thanks to the security researcher (@rtvkiz) who reported this issue responsibly.
INSTALL_PATH8BITMIME in SMTPD EHLO response (#648)Nothing published for this version
Nothing published for this version
This is a security release to resolve an upstream Go vulnerability (CVE-2025-68121).
This is a security release to resolve an upstream Go vulnerability (CVE-2025-68121).
Include message attachment checksums (MD5, SHA1 & SHA254) in API message summary
Increase allowed SMTP email address length to 1024 chars & return clearer SMTP responses for failures
This is a security release which addresses two separate moderate security advisories (see below). A huge thanks to the security researchers (@omarkurt…
This is a security release which addresses two separate moderate security advisories (see below). A huge thanks to the security researchers (@omarkurt & @mdisec) who reported this issue responsibly.
The release also includes a few bug fixes, dependency updates, and test improvements.
@ character in message tags & set max length to 100 characters per tag@ characterNothing published for this version
Nothing published for this version
This is a security release to address CVE-2026-22689 which allowed unauthenticated browser access to the websocket which provides the real-time web UI…
This is a security release to address CVE-2026-22689 which allowed unauthenticated browser access to the websocket which provides the real-time web UI updates when new messages are received. A huge thanks to the security researcher (@omarkurt) who reported this issue responsibly.
Nothing published for this version
Nothing published for this version
This is a security release to address CVE-2026-21859. Please note that although previous versions of Mailpit are vulnerable to SSRF attacks via the sc…
This is a security release to address CVE-2026-21859. Please note that although previous versions of Mailpit are vulnerable to SSRF attacks via the screenshot proxy, the proxy itself is limited to HTTP GET requests, and only relays some HTTP headers from the proxied server, reducing the attack surface. In addition to this, internet-exposed Mailpit instances should be protected using Basic Authentication, meaning the proxy itself should not be accessible to unauthenticated users.
This release limits all proxied screenshot requests to only those assets (images, fonts & CSS stylesheet links) that are actually referenced within the email message being viewed. All proxy requests to URLs not found within the message, proxied responses returning different content types (such as text/html), or proxied HTTP responses that do not return 2xx response codes will now return a generic HTTP error response. This makes it significantly more difficult to exploit the proxy for SSRF attacks, while still allowing legitimate assets to be loaded via the proxy for screenshot generation.
A huge thanks to the security researcher who reported this issue responsibly (@omarkurt).
Nothing published for this version
Optionally propagate SMTP errors
Nothing published for this version
Add type assertion for value in imaging assignment
A special thanks to @lisegmbh for responsibly disclosing the vulnerability.
An HTTP endpoint was found which exposed expvar runtime information (memory usage, goroutine counts, GC behavior, uptime and potential runtime flags) due to the Prometheus client library dependency. While this information is not typically sensitive in the sense of revealing secrets or private data, it could potentially be used by an attacker to understand more about your system. A special thanks to @lisegmbh for responsibly disclosing the vulnerability.
UI tweaks to pagination layout for clearer navigation
- Update Go dependencies - Update node dependencies - Update caniemail test database
Move HELO/EHLO hostname setting to the correct position in SMTP client creation
Add optional --no-release-check to version subcommand
Support optional UIDL argument in POP3 server
UIDL argument in POP3 server (#552)Allow rejected SMTP recipients to be silently dropped (#549) (@gliwka)
Fix sendmail when using an --smtp-addr :
--smtp-addr <ip>:<port> (#542)Add ability to generate self-signed (snakeoil) certificates for UI, SMTP and POP3
Allow unknown href link protocols in HTML view such as myapp://
Remove unused functionality/deadcode (golangci-lint)
One column per quarter.