CVE-2026-67448
MEDIUM 6.5CVSS 3.1Mailpit: WebSocket origin check bypass via percent-encoded path (regression of CVE-2026-22689)
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
- 20 Aug 2026
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-177CWE-200CWE-346
- Also known as
- GHSA-8r62-w5wh-fc5mGO-2026-6271
- Sources
- NVDJSONOSV GHSA-8r62-w5wh-fc5mJSONOSV GO-2026-6271JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/axllent/mailpit | >= 1.29.0, < 1.30.6 | 1.30.6 |
References
- https://github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9 · WEB, FIX
- https://github.com/axllent/mailpit/releases/tag/v1.30.6 · WEB
- https://github.com/axllent/mailpit/security/advisories/GHSA-8r62-w5wh-fc5m · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-67448 · ADVISORY
- https://github.com/axllent/mailpit · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 20 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Aug 2026)