CVE-2026-67448

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGithub.com/axllent/mailpit
PublishedAug 20, 2026
First seenAug 20, 2026

How to fix

Update
  • github.com/axllent/mailpit1.30.6 or later

Affected products

ProductAffected versionsFixed in
github.com/axllent/mailpitGo1.29.0 ≤ v < 1.30.61.30.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-67448 · Github.com/axllent/mailpit · Dark Radar