Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27808

CVE-2026-27808: Mailpit Link Check API SSRF Vulnerability

CVE-2026-27808 is a server-side request forgery flaw in Mailpit's Link Check API that allows attackers to make arbitrary HTTP requests to internal networks. This post covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27808 Overview

CVE-2026-27808 is a Server-Side Request Forgery (SSRF) vulnerability in Mailpit, an email testing tool and API for developers. The vulnerability exists in the Link Check API endpoint (/api/v1/message/{ID}/link-check) where the server performs HTTP HEAD requests to every URL found in an email without validating target hosts or filtering private/internal IP addresses.

This is classified as a non-blind SSRF because the response returns status codes and status text per link, allowing attackers to enumerate and probe internal services. In the default configuration with no authentication on SMTP or API, this vulnerability is fully exploitable remotely with zero user interaction.

Critical Impact

Attackers can leverage this SSRF to scan internal networks, access internal services, and potentially exfiltrate sensitive information from systems that should not be accessible externally.

Affected Products

  • Mailpit versions prior to 1.29.2

Discovery Timeline

  • February 26, 2026 - CVE-2026-27808 published to NVD
  • February 26, 2026 - Last updated in NVD database

Technical Details for CVE-2026-27808

Vulnerability Analysis

This SSRF vulnerability follows the same pattern as two previously identified issues in Mailpit: CVE-2026-23845 (HTML Check API) and CVE-2026-21859 (screenshot proxy). However, the Link Check API code path was not included in either of those earlier fixes, leaving this attack surface exposed.

The vulnerability is categorized under CWE-918 (Server-Side Request Forgery), which occurs when a web application fetches a remote resource without sufficiently validating the user-supplied URL. In this case, Mailpit's Link Check functionality blindly processes URLs extracted from emails and makes HTTP HEAD requests to each one.

Root Cause

The root cause is the absence of input validation on URLs before the server initiates HTTP requests. The Link Check API extracts URLs from email content and performs HTTP HEAD requests without:

  1. Validating that target hosts are external/public
  2. Filtering requests to private IP address ranges (10.x.x.x, 172.16.x.x-172.31.x.x, 192.168.x.x)
  3. Blocking requests to loopback addresses (127.0.0.1, localhost)
  4. Filtering link-local or multicast addresses

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can:

  1. Send a crafted email to the Mailpit instance containing URLs pointing to internal services
  2. Trigger the Link Check API to process the email
  3. Observe the returned status codes to determine which internal services are accessible
  4. Use this information to map internal network topology and identify vulnerable services

The security patch introduces a new configuration flag --allow-internal-http-requests that controls whether the link-checker and screenshots features can access internal IP addresses. This flag defaults to false for security:

go
// AllowInternalHTTPRequests will allow HTTP requests to internal IP addresses (e.g., loopback, private, link-local, or multicast) when set to true.
// This policy applies to both link checking and screenshot generation (proxy) features and is disabled by default for security reasons.
AllowInternalHTTPRequests = false

Source: GitHub Commit Update

The command-line interface was updated to expose this configuration option:

go
rootCmd.Flags().BoolVar(&config.AllowInternalHTTPRequests, "allow-internal-http-requests", config.AllowInternalHTTPRequests, "Allow link-checker & screenshots to access internal IP addresses")

Source: GitHub Commit Update

Detection Methods for CVE-2026-27808

Indicators of Compromise

  • Unusual HTTP HEAD requests originating from the Mailpit server to internal IP ranges
  • Requests to the /api/v1/message/{ID}/link-check endpoint with suspicious email IDs
  • Network traffic from Mailpit to sensitive internal services (metadata endpoints, admin panels)
  • Emails containing URLs pointing to private IP addresses or localhost

Detection Strategies

  • Monitor network egress from Mailpit instances for connections to RFC 1918 private address ranges
  • Implement logging on the Link Check API endpoint to track all processed URLs
  • Use network segmentation to detect anomalous traffic patterns from development tools
  • Alert on requests to cloud metadata endpoints (169.254.169.254) from application servers

Monitoring Recommendations

  • Deploy network monitoring to detect internal scanning activity from Mailpit hosts
  • Enable verbose logging on Mailpit to capture all API requests and processed URLs
  • Implement honeypot services on internal networks to detect SSRF probing attempts
  • Review web application firewall logs for suspicious patterns in email content

How to Mitigate CVE-2026-27808

Immediate Actions Required

  • Upgrade Mailpit to version 1.29.2 or later immediately
  • If upgrade is not immediately possible, restrict network access to the Mailpit API
  • Enable authentication on both SMTP and API endpoints if not already configured
  • Review network segmentation to limit Mailpit's ability to reach internal services

Patch Information

The vulnerability is fixed in Mailpit version 1.29.2. The fix introduces proper validation of target URLs before making HTTP requests, blocking access to internal IP addresses by default. For detailed information, see the GitHub Security Advisory GHSA-mpf7-p9x7-96r3 and Release Notes for v1.29.2.

Workarounds

  • Place Mailpit behind a reverse proxy that restricts outbound requests
  • Use network-level controls (firewall rules) to prevent Mailpit from accessing internal networks
  • Disable the Link Check API functionality if not required for your workflow
  • Enable authentication on the Mailpit API to prevent unauthorized access
bash
# Configuration example - Run Mailpit with internal request blocking (default in 1.29.2+)
mailpit --allow-internal-http-requests=false

# Enable basic authentication on the API
mailpit --ui-auth-file=/path/to/htpasswd

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechMailpit

  • SeverityMEDIUM

  • CVSS Score5.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Update

  • GitHub Release Version 1.29.2

  • GitHub Security Advisory GHSA-mpf7-p9x7-96r3
  • Related CVEs
  • CVE-2026-23845: Mailpit SSRF Vulnerability

  • CVE-2026-21859: Mailpit Email Testing Tool SSRF Vulnerability

  • CVE-2026-23829: Mailpit SMTP Header Injection Vulnerability

  • CVE-2026-22689: Mailpit WebSocket Hijacking Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English