Skip to main content

mail-mcp-bridge EUVDEUVD-2026-26250

| CVE-2026-7386 MEDIUM
Path Traversal (CWE-22)
2026-04-29 VulDB
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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 NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

8
Source Code Evidence Fetched
Jul 24, 2026 - 05:48 vuln.today
Analysis Generated
Jul 24, 2026 - 05:48 vuln.today
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)
EUVD ID Assigned
Apr 29, 2026 - 15:30 euvd
EUVD-2026-26250
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

EUVD-2026-26250 vulnerability details – vuln.today

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