CVE-2026-67448
Description
Mailpit is an email testing tool and API for developers. From 1.29.0 until 1.30.6, Mailpit's server/server.go origin middleware checks the raw RequestURI for the /api/ prefix while Go's ServeMux routes using the percent-decoded URL path, and server/websockets/client.go configures websocket.Upgrader.CheckOrigin to return true. A malicious website can request /%61pi/events, skip corsOriginAccessControl(), reach the /api/events WebSocket handler, and receive live message IDs, Message-Id values, sender and recipient fields, subjects, tags, and body snippets from an unauthenticated default Mailpit instance after the user visits the site. This is a regression of the earlier WebSocket origin protection and does not affect deployments protected by --ui-auth-file. This issue is fixed in version 1.30.6.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/axllent/mailpitGo | >= 1.29.0, < 1.30.6 | 1.30.6 |
Affected products
2- osv-coordsRange: < 0.0.20260827T195228-160000.1.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-8r62-w5wh-fc5mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-67448ghsaADVISORY
- github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9nvdWEB
- github.com/axllent/mailpit/releases/tag/v1.30.6nvdWEB
- github.com/axllent/mailpit/security/advisories/GHSA-8r62-w5wh-fc5mnvdWEB
News mentions
0No linked articles in our index yet.