Skip to main content

Mailpit CVE-2026-84697

| EUVDEUVD-2026-69788 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-02 disclosure@vulncheck.com GHSA-qx8f-9cjx-54j9
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register DNS hostname resolving to 168.63.129.16
  2. Delivery
    Embed crafted link in email sent to Mailpit
  3. Exploit
    Mailpit link-check resolves hostname, bypass IsInternalIP
  4. Execution
    Mailpit proxies request to Azure WireServer
  5. Impact
    Attacker retrieves internal metadata response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires Mailpit's link-check API or HTTP proxy endpoint to be reachable by the attacker - either because Mailpit is exposed to the internet or because the attacker has access to the network segment hosting Mailpit (e.g., via a compromised internal host or malicious email from a trusted sender). No authentication is required per CVSS PR:N. For the Azure WireServer bypass (168.63.129.16) to yield meaningful data, Mailpit must be running inside an Azure VM or Azure Container Instance, where 168.63.129.16 is a live internal endpoint. For the IPv4-translated IPv6 bypass (::ffff:0:0:0/96), the attacker must control a DNS record resolving to a translated address wrapping a sensitive IPv4 target (e.g., 169.254.169.254 for cloud metadata). The link-check or proxy feature must be enabled; if these features are disabled via Mailpit configuration, the SSRF surface is eliminated.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L) accurately reflects the principal risk: unauthenticated network access with low confidentiality impact. The score of 6.9 is calibrated to the constrained impact - an attacker can read content from bypassed internal endpoints but cannot directly write or cause availability loss. Real-world severity is environment-dependent: in an Azure-hosted Mailpit deployment, successful exploitation reaches the WireServer (168.63.129.16), which can surface VM identity metadata, certificates, and configuration data used by the Azure host agent - elevating effective impact beyond VC:L in practice. In non-Azure environments, the IPv4-translated IPv6 bypass may still allow reaching loopback services or link-local endpoints (169.254.169.254 on AWS/GCP via ::ffff:0:a9fe:a9fe, confirmed by the test cases added in the fix). EPSS data is absent from the provided intelligence; KEV status is not confirmed. No public exploit code identified. Because Mailpit is a developer/testing tool rather than production infrastructure, the realistic exposure surface is limited, but any internet-accessible Mailpit instance is at meaningful risk.

Exploit ScenarioDerived

An attacker sends a crafted email to an internet-accessible Mailpit instance containing a link whose hostname (e.g., azure-bypass.attacker.com) is configured in attacker-controlled DNS to resolve to 168.63.129.16. When Mailpit's link-check API processes the message, it resolves the hostname, the IsInternalIP check passes the address as external, and Mailpit proxies an HTTP request to the Azure WireServer. The attacker retrieves the WireServer response - which may include VM identity tokens, certificates, or configuration data - through Mailpit's proxy endpoint.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

Server-side request forgery in Mailpit's link-checking and proxy functionality allows unauthenticated remote attackers to bypass the IsInternalIP deny list and reach restricted internal network destinations. The deny list in net.go failed to include the Azure WireServer address (168.63.129.16/32) and the RFC 2765/6145 IPv4-translated IPv6 prefix (::ffff:0:0:0/96), enabling DNS rebinding-style attacks where attacker-controlled hostnames resolve to these unblocked addresses. When Mailpit is deployed in Azure environments, this specifically enables access to the platform metadata channel used by the Azure host agent. No public exploit or KEV listing identified at time of analysis.

RemediationAI

Upgrade Mailpit to v1.31.0 or later, which includes the deny-list fix in commit a02821bf3424da9196e156c422370f4868a1dff2. The VulnCheck advisory is available at https://www.vulncheck.com/advisories/mailpit-ssrf-deny-list-bypass-via-azure-metadata-and-ipv6-prefix. If immediate upgrade is not possible and Mailpit is deployed in an Azure environment, apply a host-level firewall rule or iptables/nftables rule blocking outbound connections from the Mailpit process to 168.63.129.16; note this will break Azure host-agent functionality if Mailpit runs on the same host. As a broader workaround, restrict network egress from the Mailpit host using a security group or NSG that denies outbound traffic to 168.63.129.16/32 and 169.254.0.0/16. If Mailpit's link-check and proxy features are not required, disable them via configuration to eliminate the SSRF surface entirely.

Affected VersionsENISA

mailpit 0 ≤1.31.0

Affected Packages

euvd mailpit no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mailpit is an open-source SMTP testing tool (github.com/axllent/mailpit) that provides link-checking and HTTP proxy features to inspect outbound links in captured email messages. Its internal SSRF protection lives in internal/tools/net.go, which implements IsInternalIP() as a deny-list of reserved/internal CIDR ranges. CWE-918 (Server-Side Request Forgery) describes the root cause: the application makes outbound HTTP requests based on attacker-influenced hostnames without fully validating the resolved IP against all private/reserved ranges. Two omitted ranges enabled bypasses: (1) 168.63.129.16/32, the Azure WireServer used for host-agent communication and platform metadata retrieval in Azure VMs, and (2) ::ffff:0:0:0/96, the RFC 2765/6145 IPv4-translated IPv6 prefix, which allows embedding arbitrary IPv4 addresses (including loopback 127.0.0.1 and link-local 169.254.x.x) in IPv6 address notation to evade IPv4-only block rules. The fix in commit a02821bf (released in v1.31.0) adds azureWireServer, ipv4Translated, thisNetwork (0.0.0.0/8), and sixToFourRelay (192.88.99.0/24) to the deny list.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.8 MEDIUM

Network-reachable SSRF with no auth or interaction; scope changes as requests cross to internal Azure/cloud metadata systems, yielding limited confidentiality impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Mailpit's IsInternalIP deny list function fails to block the Azure WireServer address 168.63.129.16 and the RFC 2765/6145 IPv4-translated IPv6 prefix, allowing server-side request forgery to internal destinations. Attackers can supply hostnames resolving to these addresses in message content to reach the link check API and proxy endpoint for accessing internal resources.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche developer email-testing tool, not production infrastructure
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy