Vulnerability · Published May 11, 2026 · Assigned by GitHub_M

CVE-2026-43901Wireshark MCP: Arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured

Medium 6.8

In plain English

A medium-severity path traversal in Wireshark-MCP from bx33661. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Wireshark MCP is an MCP Server that turns tshark into a structured analysis interface, then layers in optional Wireshark suite utilities. In 1.1.5 and earlier, wireshark-mcp exposes a wireshark_export_objects MCP tool that accepts an attacker-controlled dest_dir parameter and passes it to tshark's --export-objects flag with no mandatory path restriction. The path sandbox (_allowed_dirs) is None by default and only activates when the environment variable WIRESHARK_MCP_ALLOWED_DIRS is explicitly set. In a default installation, any directory on the filesystem can be used as the export destination.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIwireshark-mcpno fix listedGHSA-3r68-x3xc-rxpg
PyPIwireshark-mcpno fix listedPYSEC-2026-3426
Ubuntu:24.04:LTSwiresharkno fix listedUBUNTU-CVE-2026-43901
Ubuntu:25.10wiresharkno fix listedUBUNTU-CVE-2026-43901
Ubuntu:26.04:LTSwiresharkno fix listedUBUNTU-CVE-2026-43901
Ubuntu:26.10wiresharkno fix listedUBUNTU-CVE-2026-43901

Affected products (as reported)

VendorProductVersions
bx33661 Wireshark-MCP <= 1.1.5

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

References