Skip to content

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

MediumCVSS 6.8 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
pypi wireshark-mcp(PyPI) <= 1.1.5 No fix listed
pypi wireshark-mcp(PyPI) = 0.2.1 No fix listed
pypi wireshark-mcp(PyPI) = 0.4.0 No fix listed
pypi wireshark-mcp(PyPI) = 0.5.0 No fix listed
pypi wireshark-mcp(PyPI) = 0.6.0 No fix listed
pypi wireshark-mcp(PyPI) = 0.6.1 No fix listed
pypi wireshark-mcp(PyPI) = 0.6.2 No fix listed
pypi wireshark-mcp(PyPI) = 0.6.3 No fix listed
pypi wireshark-mcp(PyPI) = 0.6.4 No fix listed
pypi wireshark-mcp(PyPI) = 0.6.5 No fix listed
pypi wireshark-mcp(PyPI) = 1.0.0 No fix listed
pypi wireshark-mcp(PyPI) = 1.1.0 No fix listed
pypi wireshark-mcp(PyPI) = 1.1.5 No fix listed
bx33661 Wireshark-MCP = <= 1.1.5 No fix listed
ubuntu/wireshark(Ubuntu:22.04) All versions No fix listed
ubuntu/wireshark(Ubuntu:24.04) All versions No fix listed
ubuntu/wireshark(Ubuntu:26.04) All versions No fix listed
ubuntu/wireshark(Ubuntu:26.10) All versions No fix listed
bx33661 wireshark mcp <= 1.1.5 No fix listed

References