MCP NMAP Server has an Injection vulnerability
Moderate severity
GitHub Reviewed
Published
Mar 3, 2026
to the GitHub Advisory Database
•
Updated Mar 6, 2026
Description
Published by the National Vulnerability Database
Mar 3, 2026
Published to the GitHub Advisory Database
Mar 3, 2026
Reviewed
Mar 4, 2026
Last updated
Mar 6, 2026
A vulnerability was detected in PhialsBasement nmap-mcp-server up to bee6d23547d57ae02460022f7c78ac0893092e38. Affected by this issue is the function child_process.exec of the file src/index.ts of the component Nmap CLI Command Handler. The manipulation results in command injection. The attack may be performed from remote. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The patch is identified as 30a6b9e1c7fa6146f51e28d6ab83a2568d9a3488. It is best practice to apply a patch to resolve this issue.
References