Missing Origin Validation in WebSockets Affecting github.com/axllent/mailpit/server/websockets package, versions <1.28.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMAXLLENTMAILPITSERVERWEBSOCKETS-14912579
  • published11 Jan 2026
  • disclosed10 Jan 2026
  • creditOmar Kurt

Introduced: 10 Jan 2026

CVE-2026-22689  (opens in a new tab)
CWE-1385  (opens in a new tab)

How to fix?

Upgrade github.com/axllent/mailpit/server/websockets to version 1.28.2 or higher.

Overview

Affected versions of this package are vulnerable to Missing Origin Validation in WebSockets via the CheckOrigin function in the client.go file. An attacker can gain unauthorized access to sensitive email data by tricking a user into visiting a malicious website that establishes a WebSocket connection to the local instance.

References

CVSS Base Scores

version 4.0
version 3.1