{"id":"CVE-2026-67448","published":"2026-08-20T21:29:06Z","modified":"2026-08-21T11:31:27Z","title":"Mailpit: WebSocket origin check bypass via percent-encoded path (regression of CVE-2026-22689)","vendor":"axllent","product":"mailpit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00221,"percentile":0.12877,"provenance":"source"},"cwes":[{"id":"CWE-177","name":"Improper Handling of URL Encoding (Hex Encoding)"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-8r62-w5wh-fc5m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9","tags":["x_refsource_MISC"]},{"url":"https://github.com/axllent/mailpit/releases/tag/v1.30.6","tags":["x_refsource_MISC"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":2.58},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"axllent","affectedVersions":[{"vendor":"axllent","product":"mailpit","versions":[">= 1.29.0, < 1.30.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T11:31:14.259713Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/axllent/mailpit","vulnerableRanges":[">=1.29.0, <1.30.6"],"patched":["1.30.6"],"from":["GHSA-8r62-w5wh-fc5m","GO-2026-6271"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-63668","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-axllent-mailpit-cve-2026-22689","parents":[{"from":"CVE-2026-22689","to":"CVE-2026-67448","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/websockets/client.go"],"commits":["https://github.com/axllent/mailpit/commit/6f1f4f34c98989fd873261018fb73830b30aec3f","https://github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-67445","published":"2026-08-20","fixed":"1.30.4","kev":false},{"cve":"CVE-2026-67446","published":"2026-08-20","fixed":"1.30.4","kev":false},{"cve":"CVE-2026-67447","published":"2026-08-20","fixed":"1.30.5","kev":false,"link":{"from":"CVE-2026-67447","to":"CVE-2026-67448","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/axllent/mailpit","fromFixed":"1.30.5","toFixed":"1.30.6","daysApart":0}]}},{"cve":"CVE-2026-67448","published":"2026-08-20","fixed":"1.30.6","kev":false}],"package":"Go:github.com/axllent/mailpit"}}