PT-2026-79205 · Mailpit · Mailpit

CVE-2026-67448

·

Published

2026-08-20

·

Updated

2026-09-04

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Mailpit versions 1.29.0 through 1.30.5
Description An issue exists where the origin middleware in server/server.go checks the raw RequestURI for the /api/ prefix, while Go's ServeMux routes using the percent-decoded URL path. Additionally, server/websockets/client.go configures websocket.Upgrader.CheckOrigin to return true. A malicious website can bypass corsOriginAccessControl() by requesting the endpoint /%61pi/events to reach the /api/events WebSocket handler. This allows an unauthenticated attacker to receive live message IDs, Message-Id values, sender and recipient fields, subjects, tags, and body snippets from a default instance after a user visits the malicious site. This does not affect deployments protected by --ui-auth-file.
Recommendations Update to version 1.30.6. Protect deployments using --ui-auth-file to prevent unauthorized access.

Exploit

Fix

Origin Validation Error

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-67448
GHSA-8R62-W5WH-FC5M
GO-2026-6271
OPENSUSE-SU-2026:21761-1

Affected Products

Mailpit