ADVISORIES

Vulnerability

CVE-2026-43901

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.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All PyPI 2Ubuntu 1

Advisories in PyPI

  • GHSA-3r68-x3xc-rxpg

    wireshark-mcp vulnerable to arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured

    Moderate CVE-2026-43901 PyPI Updated 13 July 2026
  • PYSEC-2026-3426

    wireshark-mcp vulnerable to arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured

    CVE-2026-43901 PyPI Updated 13 July 2026

References