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.
Configurations

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Mailpit es una herramienta de prueba de correo electrónico y una API para desarrolladores. Desde la versión 1.29.0 hasta la 1.30.6, el middleware de origen server/server.go de Mailpit verifica la RequestURI sin procesar en busca del prefijo /api/ mientras que el ServeMux de Go enruta utilizando la ruta URL decodificada por porcentaje, y server/websockets/client.go configura websocket.Upgrader.CheckOrigin para devolver verdadero. Un sitio web malicioso puede solicitar /%61pi/events, omitir corsOriginAccessControl(), alcanzar el gestor WebSocket /api/events y recibir IDs de mensajes en vivo, valores de Message-Id, campos de remitente y destinatario, asuntos, etiquetas y fragmentos de cuerpo de una instancia predeterminada de Mailpit no autenticada después de que el usuario visita el sitio. Esto es una regresión de la protección de origen WebSocket anterior y no afecta a las implementaciones protegidas por --ui-auth-file. Este problema está solucionado en la versión 1.30.6.

Information

Published : 2026-08-20 22:17

Updated : 2026-10-18 20:10


NVD link : CVE-2026-67448

Mitre link : CVE-2026-67448

CVE.ORG link : CVE-2026-67448


JSON object : View

Products Affected

No product.

CWE
CWE-177

Improper Handling of URL Encoding (Hex Encoding)

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-346

Origin Validation Error