# CVE-2026-43901: Wireshark MCP: Arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T20:15:12.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-3r68-x3xc-rxpg, PYSEC-2026-3426
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- bx33661 Wireshark-MCP: <= 1.1.5
- wireshark-mcp (PyPI): up to 1.1.5
- bx33661 wireshark_mcp: up to 1.1.5

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.8 Medium `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> (exploit, mitigation, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43901> (advisory)
- <https://github.com/bx33661/Wireshark-MCP> (package)
- <https://pypi.org/project/wireshark-mcp> (package)
- <https://github.com/advisories/GHSA-3r68-x3xc-rxpg> (advisory)

## Sources

- CVE List: [CVE-2026-43901](https://www.cve.org/CVERecord?id=CVE-2026-43901), CVE Terms of Use, modified 2026-05-13
- GitHub Advisory Database: [GHSA-3r68-x3xc-rxpg](https://github.com/advisories/GHSA-3r68-x3xc-rxpg), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-43901](https://nvd.nist.gov/vuln/detail/CVE-2026-43901), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-3426](https://osv.dev/vulnerability/PYSEC-2026-3426), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-43901 · Whole record: https://cve.day/CVE-2026-43901.json · Rebuilt by cve.day 2026-11-25T22:59:21.310Z
