# CVE-2026-21859: Mailpit Proxy Endpoint is Vulnerable to Server-Side Request Forgery (SSRF)

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 55% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-06T17:44:29.000Z
- Modified: 2026-06-17T10:19:02.623Z
- Also known as: GHSA-8v65-47jx-7mfr, GO-2026-4284
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- axllent mailpit: < 1.28.1; before 1.28.1
- github.com/axllent/mailpit (Go): before 1.28.1

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-8v65-47jx-7mfr> (exploit, advisory, vendor-advisory, web)
- <https://github.com/axllent/mailpit/commit/3b9b470c093b3d20b7d751722c1c24f3eed2e19d> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21859> (advisory)
- <https://github.com/axllent/mailpit> (package)
- <https://pkg.go.dev/vuln/GO-2026-4284> (web)

## Sources

- CVE List: [CVE-2026-21859](https://www.cve.org/CVERecord?id=CVE-2026-21859), CVE Terms of Use, modified 2026-01-08
- GitHub Advisory Database: [GHSA-8v65-47jx-7mfr](https://github.com/advisories/GHSA-8v65-47jx-7mfr), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2026-4284](https://pkg.go.dev/vuln/GO-2026-4284), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2026-21859](https://nvd.nist.gov/vuln/detail/CVE-2026-21859), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21859 · Whole record: https://cve.day/CVE-2026-21859.json · Rebuilt by cve.day 2026-11-25T22:59:12.651Z
