Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-21859: CWE-918: Server-Side Request Forgery (SSRF) in axllent mailpit

0
Medium
VulnerabilityCVE-2026-21859cvecve-2026-21859cwe-918
Published: Wed Jan 07 2026 (01/07/2026, 23:24:07 UTC)
Source: CVE Database V5
Vendor/Project: axllent
Product: mailpit

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.

AI-Powered Analysis

AILast updated: 01/07/2026, 23:55:10 UTC

Technical Analysis

Mailpit, an email testing tool and API used by developers, has a Server-Side Request Forgery (SSRF) vulnerability identified as CVE-2026-21859 (CWE-918) affecting versions 1.28.0 and earlier. The vulnerability resides in the /proxy endpoint, which accepts HTTP GET requests and allows users to specify URLs with http:// and https:// schemes. However, the endpoint fails to block requests targeting internal IP addresses, enabling attackers to make unauthorized requests to internal network services and APIs that are otherwise inaccessible externally. The vulnerability is limited to HTTP GET requests with minimal headers, and no authentication or user interaction is required to exploit it. The flaw could allow attackers to gather sensitive information from internal systems or perform reconnaissance for further attacks. The issue was addressed in Mailpit version 1.28.1 by implementing proper validation to prevent internal IP address access. The CVSS v3.1 base score is 5.8, indicating a medium severity level, with an attack vector of network, low attack complexity, no privileges required, no user interaction, and a scope change. The impact affects confidentiality slightly but does not affect integrity or availability. There are no known exploits in the wild as of the publication date.

Potential Impact

For European organizations, this SSRF vulnerability poses a moderate risk primarily to confidentiality. Attackers exploiting this flaw could access internal services and APIs that are not exposed externally, potentially extracting sensitive information or mapping internal network infrastructure. This could facilitate subsequent targeted attacks or data breaches. Since Mailpit is a developer tool, organizations with active development or testing environments using vulnerable versions may be at risk. The vulnerability does not directly impact data integrity or system availability, but unauthorized internal access could lead to indirect consequences. The risk is heightened in environments where internal services contain sensitive data or where network segmentation is weak. Given the medium severity and lack of known exploits, the immediate threat level is moderate but warrants prompt remediation to prevent escalation.

Mitigation Recommendations

European organizations should immediately upgrade Mailpit to version 1.28.1 or later to apply the official fix that blocks internal IP addresses in the /proxy endpoint. Until the update is applied, organizations should restrict access to the /proxy endpoint by implementing network-level controls such as firewall rules or access control lists limiting usage to trusted IP addresses or internal users only. Additionally, monitoring and logging requests to the /proxy endpoint can help detect suspicious activity indicative of SSRF exploitation attempts. Developers should review usage of Mailpit in their environments to ensure it is not exposed to untrusted networks or users. Employing network segmentation to isolate development and testing environments from sensitive production systems can reduce potential impact. Finally, conducting internal vulnerability scans and penetration tests focusing on SSRF vectors can help identify and remediate similar weaknesses.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-05T16:44:16.367Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 695eeee107b8a419a7712f3c

Added to database: 1/7/2026, 11:40:17 PM

Last enriched: 1/7/2026, 11:55:10 PM

Last updated: 1/9/2026, 12:01:14 AM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats