CVE-2026-67446
Mailpit is an email testing tool and API for developers. Prior to …
Mailpit is an email testing tool and API for developers. Prior to 1.30.4, Mailpit decodes attacker-supplied image attachments into a full raster before checking decoded dimensions, pixel count, or memory use in the GET /api/v1/message/{id}/part/{partID}/thumb endpoint. The Thumbnail handler in server/apiv1/thumbnails.go obtains attachment bytes through storage.GetAttachmentPart(), accepts image/* content, and calls imaging.Decode() with AutoOrientation before imaging.Fill() scales the image to 180 by 120 pixels. A compact image declaring very large dimensions can therefore consume disproportionately large memory and CPU, and opening the message UI can trigger the same endpoint through server/ui-src/components/message/MessageAttachments.vue. This can degrade availability when an unauthenticated client can store the crafted attachment and reach the web API. This issue is fixed in version 1.30.4.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/axllent/mailpit/commit/6bcb6337838b542d53c348e38c7977f569b6db35
- github.com/axllent/mailpit/releases/tag/v1.30.4
- github.com/axllent/mailpit/security/advisories/GHSA-75mr-qw9x-3r39
- nvd.nist.gov/vuln/detail/CVE-2026-67446
- github.com/advisories/GHSA-75mr-qw9x-3r39
- nvd.nist.gov/vuln/detail/CVE-2026-67446
- cve.org/CVERecord?id=CVE-2026-67446
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.