Skip to main content

mail-mcp-bridge CVE-2026-7386

| EUVDEUVD-2026-26250 MEDIUM
Path Traversal (CWE-22)
2026-04-29 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Send MCP request with traversal-crafted message_id
  2. Delivery
    Server strips angle brackets but applies no further sanitization
  3. Exploit
    Unsanitized ID concatenated directly onto base attachment path
  4. Execution
    Resolved path escapes attachment directory
  5. Impact
    Read sensitive files or delete arbitrary directories within server process permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Network access to the mail-mcp-bridge MCP server endpoint is required (AV:N per CVSS 4.0 vector). No authentication is required (PR:N in the CVSS 4.0 vector) and no user interaction is needed (UI:N). The attacker must be able to supply arbitrary values in the message_ids parameter to the attachment management MCP tools (cleanup_attachments or extract_attachments). Impact is bounded by the filesystem permissions of the OS user running the MCP server process - files and directories inaccessible to that user cannot be reached. Only versions 1.3.0 through 1.3.3 are vulnerable; version 1.3.4 and later are not affected.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with E:P) places this as remotely exploitable without authentication or user interaction, with partial confidentiality, integrity, and availability impact - consistent with a path traversal capable of reading and deleting arbitrary files within the server process's permission boundary. SSVC corroborates this: automatable and partial technical impact. However, the EPSS score of 0.05% (16th percentile) indicates negligible observed exploitation activity as of analysis time, and CISA KEV status is not confirmed. The primary risk moderator is the product's niche deployment footprint - mail-mcp-bridge is a small, open-source MCP bridge with limited enterprise presence, substantially reducing the real-world attack surface. The public POC (GitHub issue #2) lowers the skill barrier but does not change the deployment reality. This is a genuine vulnerability worth patching promptly, but real-world blast radius is constrained by limited adoption rather than technical factors.

Exploit ScenarioDerived

A remote attacker sends an MCP protocol request to an exposed mail-mcp-bridge instance, setting a message_ids value to a traversal string such as ../../etc/passwd. The server's unvalidated Path(base_dir) / clean_message_id construction resolves the path outside the attachment base directory, allowing the attacker to read arbitrary files (via extract operations) or delete arbitrary directories (via cleanup operations) accessible to the server process. A POC demonstrating this is publicly available via GitHub issue #2, reducing required attacker skill to near zero.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Path traversal in fatbobman mail-mcp-bridge versions 1.3.0 through 1.3.3 exposes arbitrary filesystem paths to remote unauthenticated attackers via unsanitized message_ids arguments in the MCP server's attachment management functions. The vulnerable code in cleanup_attachments.py and extract_attachments.py directly concatenated email Message-ID values onto a base filesystem path without validation, allowing sequences such as ../../etc to escape the intended attachment directory. A public exploit exists (GitHub issue #2), SSVC rates the attack as automatable, and vendor-released fix version 1.3.4 is available.

RemediationAI

Upgrade to mail-mcp-bridge version 1.3.4, which resolves the path traversal via commit 638b162b26532e32fa8d8047f638537dbdfe197a (https://github.com/fatbobman/mail-mcp-bridge/commit/638b162b26532e32fa8d8047f638537dbdfe197a), available at https://github.com/fatbobman/mail-mcp-bridge/releases/tag/1.3.4. If immediate upgrade is not possible, restrict network-level access to the MCP server endpoint to trusted internal hosts only using firewall rules or network segmentation - this reduces the AV:N exposure to a local-only attack surface but does not eliminate the underlying path handling flaw. Additionally, running the MCP server process under a least-privilege account with read-only access to non-attachment directories limits the impact of a successful traversal; note this adds operational complexity and may interfere with legitimate attachment cleanup operations.

Affected VersionsENISA

mail-mcp-bridge 1.3.1
mail-mcp-bridge 1.3.2
mail-mcp-bridge 1.3.0
mail-mcp-bridge 1.3.3

Affected Packages

euvd mail_mcp_bridge 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

mail-mcp-bridge is a Python-based Model Context Protocol (MCP) server (src/mail_mcp_server.py) that manages email attachments on the local filesystem. The root cause (CWE-22) lies in cleanup_attachments.py and extract_attachments.py, where both files constructed attachment directory paths by calling message_id.strip('<>') and then appending the result directly to a base path using Python's Path concatenation operator (base_path / clean_message_id). Because email Message-ID values are external, untrusted input, a crafted value containing ../ sequences resolves outside the intended attachment directory - a textbook path traversal. The fix in commit 638b162b introduces attachment_paths.py, which base64-encodes the message ID into a mid_-prefixed safe directory name and verifies the resolved path stays under the base directory using Path.resolve() and Path.relative_to(). Affected CPE: cpe:2.3:a:fatbobman:mail-mcp-bridge:*:*:*:*:*:*:*:* covering versions through 1.3.3.

Know when Mail Mcp Bridge gets its next vulnerability

  • 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 (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.3 HIGH

Remote, unauthenticated, no interaction; partial C/I/A bounded by server process permissions; no scope change as impact stays within the MCP server's own filesystem context.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

5
PoC Detected
Apr 29, 2026 - 21:16 vuln.today
Public exploit code
Severity Changed
Apr 29, 2026 - 16:22 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 16:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)
Patch released
Apr 29, 2026 - 15:30 nvd
Patch available
CVE Published
Apr 29, 2026 - 15:00 nvd
MEDIUM 5.5

DescriptionCVE.org

A flaw has been found in fatbobman mail-mcp-bridge up to 1.3.3. Affected is an unknown function of the file src/mail_mcp_server.py. Executing a manipulation of the argument message_ids can lead to path traversal. The attack can be executed remotely. The exploit has been published and may be used. Upgrading to version 1.3.4 is able to address this issue. This patch is called 638b162b26532e32fa8d8047f638537dbdfe197a. Upgrading the affected component is recommended.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Prevalence
Rare
niche open-source Python MCP bridge, minimal enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 Yes
EPSS 0.1%
Patch available Yes
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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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