Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister DNS hostname resolving to 168.63.129.16
-
DeliveryEmbed crafted link in email sent to Mailpit
-
ExploitMailpit link-check resolves hostname, bypass IsInternalIP
-
ExecutionMailpit proxies request to Azure WireServer
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-reachable SSRF with no auth or interaction; scope changes as requests cross to internal Azure/cloud metadata systems, yielding limited confidentiality impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-69788
GHSA-qx8f-9cjx-54j9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB