CVE-2026-22689: axllent mailpit · Missing Origin Validation in WebSockets
Affects axllent mailpitSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.28.2 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.28.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade mailpit and axllent/mailpit to 1.28.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| axllentmailpit | Affected
| Fixed in
|
GitHubaxllent/mailpitpkg:github/axllent/mailpitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade Mailpit to version 1.28.2 or later, where the Origin header validation is properly implemented. Until upgrading, organizations should restrict developer access to untrusted websites to reduce the risk of CSWSH attacks. Developers should avoid visiting unknown or suspicious websites while running vulnerable Mailpit versions locally. Network-level controls can be implemented to block outbound WebSocket connections from localhost to external origins. Additionally, configuring local firewalls or endpoint protection solutions to monitor and restrict WebSocket traffic can help mitigate exploitation. Security awareness training should emphasize the risks of visiting untrusted sites during development activities. Organizations should also audit their development environments to identify any instances of vulnerable Mailpit versions and ensure timely patching. Finally, consider isolating development environments or using containerized setups to limit exposure.
Description
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.