{"id":"CVE-2026-67448","aliases":["GHSA-8r62-w5wh-fc5m"],"url":"https://o3.security/vulnerability/CVE-2026-67448","summary":"Mailpit: WebSocket origin check bypass via percent-encoded path (regression of CVE-2026-22689)","details":"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.","published":"2026-08-20T21:29:06.185Z","modified":"2026-08-21T11:49:02.845003070Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","fixedVersion":"1.30.6"}],"fix":{"url":"https://github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9","label":"axllent/mailpit@fbe5e00"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67448.json"},{"type":"FIX","url":"https://github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9"},{"type":"WEB","url":"https://github.com/axllent/mailpit/releases/tag/v1.30.6"},{"type":"ADVISORY","url":"https://github.com/axllent/mailpit/security/advisories/GHSA-8r62-w5wh-fc5m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67448"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-21T11:49:02.845003070Z"}}