CVE-2026-7386
Received Received - Intake

Path Traversal in mail-mcp-bridge

Vulnerability report for CVE-2026-7386, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-29

Last updated on: 2026-04-29

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-29
Last Modified
2026-04-29
Generated
2026-07-26
AI Q&A
2026-04-29
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fatbobman mail_mcp_bridge to 1.3.4 (exc)
fatbobman mail_mcp_bridge 1.3.4

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a flaw in the fatbobman mail-mcp-bridge software up to version 1.3.3, specifically in an unknown function within the file src/mail_mcp_server.py. It involves manipulation of the argument message_ids, which can lead to a path traversal attack. This means an attacker can remotely exploit this flaw to access files or directories outside the intended scope.

The vulnerability can be exploited remotely without any authentication, and an exploit has already been published. Upgrading to version 1.3.4, which includes a patch, resolves this issue.

Detection Guidance

This vulnerability involves path traversal via manipulation of message_ids leading to unauthorized directory access and deletion. Detection involves monitoring for suspicious message_id inputs containing path traversal sequences such as "../" or other directory escape tokens.

You can check logs or inputs to the mail-mcp-bridge cleanup tool or attachment extraction processes for message IDs containing path traversal patterns.

Suggested commands to detect potential exploitation attempts include searching for suspicious message IDs in logs or runtime inputs, for example:

  • grep -r '\.\./' /path/to/mail-mcp-bridge/logs
  • grep -r 'message_id=.*\.\./' /var/log/syslog
  • Monitor filesystem changes or deletions in directories adjacent to the mail-mcp-bridge attachment directories using tools like inotifywait or auditd.

Additionally, reviewing the source or running tests similar to those in the test_attachment_path_safety.py can help verify if the system is vulnerable.

Impact Analysis

This vulnerability can allow an attacker to perform a path traversal attack remotely, potentially accessing sensitive files or directories on the affected system that should not be accessible. This can lead to unauthorized disclosure of information, modification, or deletion of files, which may compromise the integrity and confidentiality of the system.

Compliance Impact

The vulnerability CVE-2026-7386 involves a path traversal flaw that allows remote attackers to manipulate message IDs to perform unauthorized directory deletions and access. This can lead to integrity and availability issues by deleting critical directories or files.

While the provided context and resources do not explicitly mention compliance with standards such as GDPR or HIPAA, the integrity and availability impacts caused by this vulnerability could potentially affect compliance. For example, unauthorized deletion or manipulation of email data could violate data protection and security requirements mandated by these regulations.

Mitigations such as upgrading to version 1.3.4, which includes secure handling of attachment paths and input validation, help reduce the risk of data loss or unauthorized access, thereby supporting compliance efforts.

Mitigation Strategies

The recommended immediate step to mitigate this vulnerability is to upgrade the affected component, fatbobman mail-mcp-bridge, to version 1.3.4 or later.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7386. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart