CVE Explorer
CVE-2026-22689
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 inte
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"mailpit","vendor":"axllent","versions":[{"status":"affected","version":"< 1.28.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3a3d4624412eb71ea25c7231293bf83f060887389e589eb6b65537e12cdc2211 · sha256:39d7c047f84dab90… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3a3d4624412eb71ea25c7231293bf83f060887389e589eb6b65537e12cdc2211 · sha256:39d7c047f84dab90… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-1385","description":"CWE-1385: Missing Origin Validation in WebSockets","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3a3d4624412eb71ea25c7231293bf83f060887389e589eb6b65537e12cdc2211 · sha256:39d7c047f84dab90… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/axllent/mailpit/commit/6f1f4f34c98989fd873261018fb73830b30aec3f","tags":["x_refsource_MISC"],"url":"https://github.com/axllent/mailpit/commit/6f1f4f34c98989fd873261018fb73830b30aec3f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a3d4624412eb71ea25c7231293bf83f060887389e589eb6b65537e12cdc2211 · sha256:39d7c047f84dab90… · /containers/cna/references/1
{"name":"https://github.com/axllent/mailpit/security/advisories/GHSA-524m-q5m7-79mm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-524m-q5m7-79mm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a3d4624412eb71ea25c7231293bf83f060887389e589eb6b65537e12cdc2211 · sha256:39d7c047f84dab90… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.