{"id":"CVE-2026-21859","published":"2026-01-07T23:24:07Z","modified":"2026-01-08T19:23:22Z","title":"Mailpit Proxy Endpoint is Vulnerable to Server-Side Request Forgery (SSRF)","vendor":"axllent","product":"mailpit","tier":"core","eol":null,"affectedVersions":[{"vendor":"axllent","product":"mailpit","versions":["< 1.28.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-08T19:23:19.174824Z","from":"CISA ADP","provenance":"source"},"description":{"text":"Mailpit is an email testing tool and API for developers. Versions 1.28.0 and below have a Server-Side Request Forgery (SSRF) vulnerability in the /proxy endpoint, allowing attackers to make requests to internal network resources. The /proxy endpoint validates http:// and https:// schemes, but it does not block internal IP addresses, enabling attackers to access internal services and APIs. This vulnerability is limited to HTTP GET requests with minimal headers. The issue is fixed in version 1.28.1.","provenance":"source","from":"CVE.org"},"summary":{"text":"Mailpit, an email testing tool and API for developers by axllent, contains a Server-Side Request Forgery flaw in its /proxy endpoint, which validates http:// and https:// schemes but does not block internal IP addresses. An unauthenticated remote attacker can use the endpoint to make HTTP GET requests with minimal headers to internal network resources, reaching internal services and APIs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:10Z"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00806,"percentile":0.57695,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-02-11","exploitedFirstSeen":"2026-02-11","ransomware":false,"evidence":[{"url":"https://tracker.crowdsec.net/cves/CVE-2026-21859","date":"2026-02-11"},{"url":"https://www.crowdsec.net/vulntracking-report/cve-2026-21859","date":"2026-03-02"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":32,"pulses":[{"name":"Known_Cve | Mar 31, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69ca8513b66a6dde3b8bc51d","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca0daa0d61a3082fccd483","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c932c178f05822e0970ce2","created":"2026-03-29"},{"name":"Known_Cve | Mar 28, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/69c69277127fedcfcf9349b0","created":"2026-03-27"},{"name":"Known_Cve | Mar 25, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c2a5852b497ad2dfee0e56","created":"2026-03-24"},{"name":"Known_Cve | Mar 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c14ad09114b91e2b796d1f","created":"2026-03-23"},{"name":"Known_Cve | Mar 23, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bff7a467e13e64faf0c7a5","created":"2026-03-22"},{"name":"Known_Cve | Mar 22, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bea7172a5f67c1be686cbd","created":"2026-03-21"},{"name":"Known_Cve | Mar 21, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bd561efca225ea63938eb5","created":"2026-03-20"},{"name":"Known_Cve | Mar 20, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bc05085c2ed0bd9d103e85","created":"2026-03-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-8v65-47jx-7mfr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/axllent/mailpit/commit/3b9b470c093b3d20b7d751722c1c24f3eed2e19d","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Go","package":"github.com/axllent/mailpit","vulnerableRanges":["<1.28.1"],"patched":["1.28.1"],"from":["GHSA-8v65-47jx-7mfr","GO-2026-4284"],"provenance":"source"}],"advisories":[{"id":"GHSA-8v65-47jx-7mfr","url":"https://github.com/advisories/GHSA-8v65-47jx-7mfr","severity":"MODERATE","ecosystem":"Go","package":"github.com/axllent/mailpit","vulnerableRanges":["<1.28.1"],"patched":["1.28.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-1038","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-1038","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-21859","name":"Mailpit < 1.28.3 - Server-Side Request Forgery","severity":"high","path":"http/cves/2026/CVE-2026-21859.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-21859.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-01-07","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-21859","provenance":"source"},{"date":"2026-02-11","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://tracker.crowdsec.net/cves/CVE-2026-21859","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":63.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 283 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":11.54,"detail":"percentile 0.5769"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"32 pulses"},{"name":"CVSS severity","points":4.06,"detail":"base score 5.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-axllent-mailpit-cve-2026-21859","children":[{"from":"CVE-2026-21859","to":"CVE-2026-27808","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/handlers/proxy.go"],"commits":["https://github.com/axllent/mailpit/commit/3b9b470c093b3d20b7d751722c1c24f3eed2e19d","https://github.com/axllent/mailpit/commit/10ad4df8cc0cd9e51dea1b4410009545eef7fbf5"],"basis":"shared function","functions":["ProxyHandler"]}]}],"packageHistory":[{"cve":"CVE-2026-21859","published":"2026-01-07","fixed":"1.28.1","kev":false},{"cve":"CVE-2026-22689","published":"2026-01-10","fixed":"1.28.2","kev":false,"link":{"from":"CVE-2026-21859","to":"CVE-2026-22689","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/axllent/mailpit","fromFixed":"1.28.1","toFixed":"1.28.2","daysApart":3}]}},{"cve":"CVE-2026-23829","published":"2026-01-18","fixed":"1.28.3","kev":false},{"cve":"CVE-2026-23845","published":"2026-01-19","fixed":"1.28.3","kev":false}],"package":"Go:github.com/axllent/mailpit"}}