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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2026-08-20T21:29:06.185Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-8r62-w5wh-fc5m, GO-2026-6271
- Weaknesses: CWE-177, CWE-200, CWE-346
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- axllent mailpit: >= 1.29.0, < 1.30.6
- github.com/axllent/mailpit (Go): from 1.29.0 before 1.30.6

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-67448](https://www.cve.org/CVERecord?id=CVE-2026-67448), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-8r62-w5wh-fc5m](https://github.com/advisories/GHSA-8r62-w5wh-fc5m), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-6271](https://pkg.go.dev/vuln/GO-2026-6271), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-67448](https://nvd.nist.gov/vuln/detail/CVE-2026-67448), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-67448 · Whole record: https://cve.day/CVE-2026-67448.json · Rebuilt by cve.day 2026-11-25T22:59:34.742Z
