CVE-2026-43901: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bx33661 Wireshark-MCP
CVE-2026-43901 is a path traversal vulnerability in Wireshark-MCP versions 1. 1. 5 and earlier. The vulnerability arises because the wireshark_export_objects MCP tool accepts an attacker-controlled destination directory parameter without mandatory path restrictions. By default, the path sandbox feature is disabled unless the environment variable WIRESHARK_MCP_ALLOWED_DIRS is explicitly set, allowing any directory on the filesystem to be used as the export destination. This can lead to unauthorized file write operations outside intended directories. The vulnerability has a CVSS score of 6. 8, indicating medium severity, with high impact on confidentiality and integrity but no impact on availability. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
Wireshark-MCP, an MCP Server that integrates tshark with Wireshark utilities, contains a path traversal vulnerability (CWE-22) in versions up to 1.1.5. The vulnerability exists in the wireshark_export_objects MCP tool, which accepts a dest_dir parameter that is passed directly to tshark's --export-objects flag without enforcing path restrictions. The default configuration does not enable the path sandbox (_allowed_dirs), which only activates if the environment variable WIRESHARK_MCP_ALLOWED_DIRS is set. Consequently, an attacker can specify arbitrary filesystem paths as the export destination, potentially leading to unauthorized file writes outside restricted directories. The CVSS 3.1 base score is 6.8, reflecting network attack vector, high attack complexity, no privileges required, user interaction required, unchanged scope, and high confidentiality and integrity impacts.
Potential Impact
The vulnerability allows an attacker to control the destination directory for exported objects, potentially enabling unauthorized file writes to arbitrary locations on the filesystem. This can compromise confidentiality and integrity of data by overwriting or placing files in sensitive directories. There is no indication of availability impact. No known exploits are reported in the wild. The vulnerability affects all installations of Wireshark-MCP version 1.1.5 and earlier that have not explicitly configured the WIRESHARK_MCP_ALLOWED_DIRS environment variable to restrict export paths.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should explicitly set the WIRESHARK_MCP_ALLOWED_DIRS environment variable to restrict allowed export directories and prevent arbitrary path traversal. Avoid running wireshark_export_objects MCP tool with untrusted input for the dest_dir parameter. Monitor vendor communications for updates regarding an official patch or fix.
CVE-2026-43901: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bx33661 Wireshark-MCP
Description
CVE-2026-43901 is a path traversal vulnerability in Wireshark-MCP versions 1. 1. 5 and earlier. The vulnerability arises because the wireshark_export_objects MCP tool accepts an attacker-controlled destination directory parameter without mandatory path restrictions. By default, the path sandbox feature is disabled unless the environment variable WIRESHARK_MCP_ALLOWED_DIRS is explicitly set, allowing any directory on the filesystem to be used as the export destination. This can lead to unauthorized file write operations outside intended directories. The vulnerability has a CVSS score of 6. 8, indicating medium severity, with high impact on confidentiality and integrity but no impact on availability. No official patch or remediation guidance is currently available.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Wireshark-MCP, an MCP Server that integrates tshark with Wireshark utilities, contains a path traversal vulnerability (CWE-22) in versions up to 1.1.5. The vulnerability exists in the wireshark_export_objects MCP tool, which accepts a dest_dir parameter that is passed directly to tshark's --export-objects flag without enforcing path restrictions. The default configuration does not enable the path sandbox (_allowed_dirs), which only activates if the environment variable WIRESHARK_MCP_ALLOWED_DIRS is set. Consequently, an attacker can specify arbitrary filesystem paths as the export destination, potentially leading to unauthorized file writes outside restricted directories. The CVSS 3.1 base score is 6.8, reflecting network attack vector, high attack complexity, no privileges required, user interaction required, unchanged scope, and high confidentiality and integrity impacts.
Potential Impact
The vulnerability allows an attacker to control the destination directory for exported objects, potentially enabling unauthorized file writes to arbitrary locations on the filesystem. This can compromise confidentiality and integrity of data by overwriting or placing files in sensitive directories. There is no indication of availability impact. No known exploits are reported in the wild. The vulnerability affects all installations of Wireshark-MCP version 1.1.5 and earlier that have not explicitly configured the WIRESHARK_MCP_ALLOWED_DIRS environment variable to restrict export paths.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should explicitly set the WIRESHARK_MCP_ALLOWED_DIRS environment variable to restrict allowed export directories and prevent arbitrary path traversal. Avoid running wireshark_export_objects MCP tool with untrusted input for the dest_dir parameter. Monitor vendor communications for updates regarding an official patch or fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T16:11:33.085Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a028743cbff5d86108b506e
Added to database: 5/12/2026, 1:49:55 AM
Last enriched: 5/12/2026, 1:51:52 AM
Last updated: 5/12/2026, 3:50:35 AM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.