# CVE-2026-67448: Mailpit: WebSocket origin check bypass via percent-encoded path (regression of CVE-2026-22689)

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-20 · Modified: 2026-08-21
- Aliases: GHSA-8r62-w5wh-fc5m, GO-2026-6271
- Record: https://cvemate.com/vulnerability/CVE-2026-67448 · JSON: https://cvemate.com/vulnerability/CVE-2026-67448/json

## 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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.146%, percentile 4.024%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- axllent mailpit: ≥ 1.29.0, \< 1.30.6
- github.com/axllent mailpit (Go): ≥ 1.29.0, \< 1.30.6

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-8r62-w5wh-fc5m>
- <https://github.com/axllent/mailpit/commit/fbe5e006c3f1682b819df58b4a932d7a84920be9>
- <https://github.com/axllent/mailpit/releases/tag/v1.30.6>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67448>
- <https://github.com/axllent/mailpit>

---

Data as of 2026-12-05T14:13:09.659Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
