FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

mailpit -- WebSocket origin check bypass via percent-encoded path

Affected packages
mailpit < 1.30.6

Details

VuXML ID 52a3f202-8a77-11f1-ac5d-0897988a1c07
Discovery 2026-07-28
Entry 2026-07-28

Mailpit author reports:

The cross-site WebSocket hijacking fix was reimplemented as an origin check gated on a raw-URI prefix test, but Go's ServeMux routes on the percent-decoded path, so requesting /%61pi/events reaches the WebSocket handler while skipping the only origin control, and the upgrader itself accepts every origin.

References

URL https://github.com/axllent/mailpit/security/advisories/GHSA-8r62-w5wh-fc5m