wireshark_export_objects path traversal / arbitrary export dir | Medium || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-43901 |
| Date (index) | 2026-05-11 |
| Affected product (index) | Wireshark MCP (wireshark-mcp) |
| GHSA ID | GHSA-3r68-x3xc-rxpg |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-05-11 |
| Ecosystem | npm |
| Component | wireshark-mcp |
| EPSS score | 0.002810000 (FIRST EPSS, 2026-06-30) |
| CVSS score | Medium — 6.8 — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N (NVD CVSS 3.1) |
| CWE | CWE-22 |
| Affected versions | <= 1.1.5 |
| Fixed versions | None published (last affected 1.1.5 per GHSA-3r68-x3xc-rxpg) |
| Fix status | Unfixed |
| Exploit status | Public CVE record |
| Notes | Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates. |
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.
Depends on deployment: many MCP issues require a reachable HTTP/SSE listener, a malicious remote MCP server, a poisoned project/workspace config, or a victim opening attacker-influenced content. Treat developer workstations and shared CI runners as high-value targets when MCP servers run with host access.
See the NVD description and linked references for the upstream root cause; CWE rows above summarize the weakness mapping published by NVD.
MCP extends an agent’s reach into tools, hosts, and cloud APIs. Failures in transport authentication, logging, URL validation, session binding, or local config loading frequently become RCE, credential theft, SSRF, or session hijacking in MCP-shaped deployments.
Add a minimal vulnerable code snippet here after reviewing the linked upstream commit / tag diff (do not paste weaponized payloads).
Upgrade to vendor-fixed versions where available, reduce network exposure (bind to localhost, require auth on HTTP transports), and apply standard MCP deployment hygiene (tool allowlists, egress controls, separate secrets from logs).
references for commits, tags, and release notes.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-43901 and apply the upstream patched release/commit recommended by the vendor/CNA.