Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-43901 EUVD-2026-29338GHSA-3r68-x3xc-rxpgPYSEC-2026-3426

Wireshark MCP: Arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured

Published May 11, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
PyPI wireshark-mcp <= 1.1.5 — GHSA-3r68-x3xc-rxpg

References