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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| bx33661 | Wireshark-MCP | <= 1.1.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | wireshark | No fix yet | — |
| Ubuntu 26.04 LTS | wireshark | No fix yet | — |
| Ubuntu 25.10 | wireshark | No fix yet | — |
| Ubuntu 24.04 LTS | wireshark | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | wireshark | No fix yet | — |
| Ubuntu Pro 20.04 LTS | wireshark | No fix yet | — |
| Ubuntu Pro 18.04 LTS | wireshark | No fix yet | — |
| Ubuntu Pro 16.04 LTS | wireshark | No fix yet | — |
| Ubuntu Pro 14.04 LTS | wireshark | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | wireshark-mcp | <= 1.1.5 | — | GHSA-3r68-x3xc-rxpg |