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).
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wireshark-mcp | no fix listed | GHSA-3r68-x3xc-rxpg |
| PyPI | wireshark-mcp | no fix listed | PYSEC-2026-3426 |
| Ubuntu:24.04:LTS | wireshark | no fix listed | UBUNTU-CVE-2026-43901 |
| Ubuntu:25.10 | wireshark | no fix listed | UBUNTU-CVE-2026-43901 |
| Ubuntu:26.04:LTS | wireshark | no fix listed | UBUNTU-CVE-2026-43901 |
| Ubuntu:26.10 | wireshark | no fix listed | UBUNTU-CVE-2026-43901 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/bx33661/Wireshark-MCP/security/advisories/GHSA-3r68-x3xc-rxpg x_refsource_CONFIRM