{"cve":"CVE-2026-22689","nvd":{"published":"2026-01-10T06:15:51.900","modified":"2026-06-17T10:20:14.330","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-1385"],"references":["https://github.com/axllent/mailpit/commit/6f1f4f34c98989fd873261018fb73830b30aec3f","https://github.com/axllent/mailpit/security/advisories/GHSA-524m-q5m7-79mm"],"products":["axllent:mailpit"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-22689","score":0.00239,"percentile":0.15045,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-524m-q5m7-79mm","url":"https://osv.dev/vulnerability/GHSA-524m-q5m7-79mm","summary":"Mailpit is vulnerable to Cross-Site WebSocket Hijacking (CSWSH) allowing unauthenticated access to emails","modified":"2026-02-03T03:01:29.999168Z","packages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","ranges":[">=1.2.6 <1.28.2"],"fixed":["1.28.2"]},{"ecosystem":"Go","name":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","ranges":["<0.0.0-20260110031614"],"fixed":["0.0.0-20260110031614"]}]},{"id":"GO-2026-4310","url":"https://osv.dev/vulnerability/GO-2026-4310","summary":"Mailpit is vulnerable to Cross-Site WebSocket Hijacking (CSWSH) allowing unauthenticated access to emails in github.com/axllent/mailpit","modified":"2026-01-23T02:56:17.348206Z","packages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","ranges":[">=1.2.6 <1.28.2"],"fixed":["1.28.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}