cve.bz

CVE-2026-22689

6.5 mediumEPSS 0.2%

Medium (6.5) in axllent mailpit. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in github.com/axllent/mailpit 0.0.0-20260110031614, 1.28.2.

Mailpit is an email testing tool and API for developers. Prior to version 1.28.2, the Mailpit WebSocket server is configured to accept connections from any origin. This lack of Origin header validation introduces a Cross-Site WebSocket Hijacking (CSWSH) vulnerability. An attacker can host a malicious website that, when visited by a developer running Mailpit locally, establishes a WebSocket connection to the victim's Mailpit instance (default ws://localhost:8025). This allows the attacker to intercept sensitive data such as email contents, headers, and server statistics in real-time. This issue has been patched in version 1.28.2.

Severity

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
EPSS
0.2% chance of exploitation in the next 30 days; higher than 15% of CVEs (scores of 2026-10-31)
CWE
CWE-1385
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-524m-q5m7-79mmGogithub.com/axllent/mailpit>=1.2.6 <1.28.21.28.2
GHSA-524m-q5m7-79mmGogithub.com/axllent/mailpit<0.0.0-202601100316140.0.0-20260110031614
GO-2026-4310Gogithub.com/axllent/mailpit>=1.2.6 <1.28.21.28.2

References

Check your stackJSON