CVE-2026-67448
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.5
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS probability
- 0.15%
- CWE
- CWE-177, CWE-200, CWE-346
- Published
- 2026-08-20
- Last modified
- 2026-08-21
Affected products
- axllent mailpit
Weakness type
Related vulnerabilities
- CVE-2026-76172 — fast-uri vulnerable to host confusion via percent-encoded scheme normalization
- CVE-2026-15371 — Velociraptor Stored XSS in URL column types
- CVE-2026-59083 — Apache Tomcat: Incorrect URL decoding in RewriteValve may allow security control bypass
- CVE-2026-41041 — Apache Gravitino: URL path injection via unencoded user-supplied identifiers in MCP REST client f-string URL construction, enabling path traversal to unintended API endpoints.
- CVE-2026-6414 — @fastify/static vulnerable to route guard bypass via encoded path separators
- CVE-2026-29045 — Hono: Arbitrary file access via serveStatic vulnerability
- CVE-2026-22037 — @fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding)
- CVE-2026-22031 — Fastify Middie Middleware Path Bypass