CVE-2026-7386 fatbobman mail-mcp-bridge mail_mcp_server.py path traversal

Medium 6.9 Published Updated

Remote attackers can exploit path traversal in mail-mcp-bridge to access unauthorized files via manipulated message IDs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7386?

CVE-2026-7386 is a medium-severity path traversal vulnerability in fatbobman mail-mcp-bridge, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-7386?

How do I fix CVE-2026-7386?

No fix has been published for CVE-2026-7386 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-7386 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7386 exists.

Sources

Also known as GHSA-2gfj-fr43-4735.

Is CVE-2026-7386 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free