{"id":"CVE-2026-43901","published":"2026-05-11T21:51:41Z","modified":"2026-05-13T14:38:55Z","title":"Wireshark MCP: Arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured","vendor":"bx33661","product":"Wireshark-MCP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00345,"percentile":0.28754,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/bx33661/Wireshark-MCP/security/advisories/GHSA-3r68-x3xc-rxpg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":5.75},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"bx33661","affectedVersions":[{"vendor":"bx33661","product":"Wireshark-MCP","versions":["<= 1.1.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-13T14:28:15.407312Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wireshark-mcp","vulnerableRanges":["<=1.1.5"],"patched":[],"from":["GHSA-3r68-x3xc-rxpg","PYSEC-2026-3426"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-29338","exploited":false,"provenance":"source"}}