# CVE-2026-43901: Wireshark MCP: Arbitrary file write via export\_objects when WIRESHARK\_MCP\_ALLOWED\_DIRS is not configured

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-3r68-x3xc-rxpg, PYSEC-2026-3426
- **Published:** 2026-05-05T20:15:12.000Z
- **Modified:** 2026-10-26T18:10:00.173Z

## Who should check

- Projects that depend on PyPI package wireshark-mcp (\<= 1.1.5)
- Anyone running bx33661 Wireshark-MCP \<= 1.1.5

## 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 and fixed versions

- PyPI `wireshark-mcp`: affected \<= 1.1.5; fixed no fix listed yet (osv)
- bx33661 Wireshark-MCP: \<= 1.1.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43901. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43901.md
Affected: wireshark-mcp <= 1.1.5
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for wireshark-mcp (PyPI), bx33661 Wireshark-MCP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43901 being exploited?

There is no confirmed exploitation: CVE-2026-43901 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43901?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-43901?

wireshark-mcp \<= 1.1.5.

### Is there a fix for CVE-2026-43901?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43901?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/bx33661/Wireshark-MCP/security/advisories/GHSA-3r68-x3xc-rxpg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-43901>
- vendor: <https://github.com/advisories/GHSA-3r68-x3xc-rxpg>
- other: <https://github.com/bx33661/Wireshark-MCP>
- other: <https://pypi.org/project/wireshark-mcp>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43901>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3r68-x3xc-rxpg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3426> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-43901> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43901>
