CVE-2026-22689
January 10, 2026
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.
Affected Packages
https://github.com/axllent/mailpit.git (GITHUB):
Affected version(s) >=v1.28.0 <v1.28.2Fix Suggestion:
Update to version v1.28.2github.com/axllent/mailpit (GO):
Affected version(s) >=v1.2.6 <v1.28.2Fix Suggestion:
Update to version v1.28.2github.com/axllent/mailpit (GO):
Affected version(s) >=v1.2.6 <v1.28.2Fix Suggestion:
Update to version v1.28.2Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Missing Origin Validation in WebSockets
EPSS
Base Score:
0.01