Description
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.
Problem types
Product status
Timeline
| 2026-03-03: | Advisory disclosed |
| 2026-03-03: | VulDB entry created |
| 2026-03-03: | VulDB entry last update |
Credits
Yinci Chen (VulDB User)
References
vuldb.com/?id.348559 (VDB-348559 | PhialsBasement nmap-mcp-server Nmap CLI index.ts child_process.exec command injection)
vuldb.com/?ctiid.348559 (VDB-348559 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/?submit.763773 (Submit #763773 | PhialsBasement nmap-mcp-server <=1.0.1 Command Injection)
vuldb.com/?submit.763777 (Submit #763777 | PhialsBasement nmap-mcp-server <=1.0.1 Command Injection (Duplicate))
github.com/PhialsBasement/nmap-mcp-server/issues/7
github.com/PhialsBasement/nmap-mcp-server/issues/7
github.com/...ommit/30a6b9e1c7fa6146f51e28d6ab83a2568d9a3488
github.com/PhialsBasement/nmap-mcp-server/