MCP Inspector allows unauthenticated remote code execution
What this means
An attacker on the network or with access to the MCP Inspector port can run any command on the system without logging in. This can lead to data theft, system takeover, installation of malware, or disruption of service.
SecurityElites Manager Brief: the decision in one minute
MCP Inspector before version 0.14.1 accepts commands from anyone without checking who they are. An attacker can run code on your servers. You must upgrade immediately to 0.14.1 or later.
| SecurityElites Fix-First Score | 51 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team managing MCP Inspector deployments. |
| Likely effort | About 15 minutes per service: update the npm package and restart the Inspector service. Longer if you need to audit logs for past misuse. |
Questions to ask your team or supplier
- Do we have MCP Inspector exposed to any network other than localhost, and if so, which systems is it accessible from?
- Have we checked our logs for any suspicious commands or connections to MCP Inspector in the past weeks before we patch this?
- What credentials or API keys does MCP Inspector have access to, and could an attacker have stolen them?
Message you can forward to the owning team
Security notice: MCP Inspector allows unauthenticated remote code execution (CVE-2025-49596)
Severity: Critical
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: upgrade to @modelcontextprotocol/inspector 0.14.1 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2025-49596-mcp-inspector-allows-unauthenticated-remote-code-execution/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01580What is at stake in your AI setup
- Tools and systems the MCP Inspector is connected to: an attacker can invoke any tool or model the Inspector has access to.
- Keys for AI providers: an attacker may read or use credentials stored in the Inspector's environment or configuration.
- Model files and weights: an attacker can read or modify model files if the Inspector process has access to them.
- The compute bill: an attacker can run expensive model operations, increasing cloud costs.
Who is exposed
- Teams running MCP Inspector versions before 0.14.1 on any network.
- Development environments where Inspector is exposed to internal networks.
- Production systems using MCP Inspector for model interactions.
- Any system where Inspector listens on a port accessible to untrusted users.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| @modelcontextprotocol/inspector npm | Every version before 0.14.1 | 0.14.1 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | No known attacks and no public attack code when CISA last reviewed it |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | None. No login is needed |
| Does a person have to do something | Yes, a small ordinary action by a user |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | No, according to CISA. Each target needs manual work |
| How much control an attacker gains | Total control of the affected software, according to CISA |
Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Kind of coding mistake
- CWE-306: an important function needs no login
If you cannot upgrade today
- Run MCP Inspector only on localhost (127.0.0.1) until you can upgrade, so it is not reachable from other machines.
- Use a firewall or network ACL to block all external access to the Inspector port.
- Temporarily disable MCP Inspector if it is not currently needed for active work.
Signs it may already have been used against you
- Review MCP Inspector logs for commands or requests that originate from unexpected sources or IP addresses.
- Check system audit logs for new processes spawned by the Inspector service, especially with elevated privileges.
- Look for outbound network connections initiated by the Inspector process to external systems.
- Examine filesystem changes in directories accessible to the Inspector service for modifications you did not make.
SecurityElites Fix Guide: step by step
- Find where MCP Inspector is installedList all npm packages in your project by running `npm list @modelcontextprotocol/inspector` in each service directory. Record the installed version and the full path to the installation.
- Check the current versionRun `npm list @modelcontextprotocol/inspector` to see the installed version. If it shows a version older than 0.14.1, the system is at risk.
- Back up your configurationSave a copy of your MCP Inspector configuration files and any custom settings before making changes.
- Upgrade to version 0.14.1 or laterUpdate the package using your package manager. For npm, this is typically done by updating your package.json or using npm update. Restart the MCP Inspector service after the upgrade completes.
- Verify the fix is in placeRun `npm list @modelcontextprotocol/inspector` again and confirm the version is 0.14.1 or higher. Verify that the Inspector service has restarted successfully by checking its status.
- Review logs for past attacksCheck Inspector logs and system logs from the past weeks for unusual commands or connections. Look for entries that do not match your normal operations or come from unexpected sources.
- Audit system changesIf logs show unexpected activity, check for unauthorized file changes, new user accounts, or unexpected processes that may have been created by an attacker.
- Restrict network accessEnsure MCP Inspector only listens on internal networks or localhost, never on public IP addresses. Use firewalls to limit which systems can reach the Inspector port.
How to confirm it is fixed: Confirm that @modelcontextprotocol/inspector version 0.14.1 or later is installed by running `npm list @modelcontextprotocol/inspector` and checking the reported version number.
SecurityElites Quick Fixes: copy and paste
Upgrade @modelcontextprotocol/inspector with npmupgrade
npm install @modelcontextprotocol/inspector@0.14.1
npm ls @modelcontextprotocol/inspectorCheck installed version of MCP Inspectorfor this issue
npm list @modelcontextprotocol/inspectorRun the service in a locked-down containergeneral hardening
docker run --read-only --cap-drop ALL \
--security-opt no-new-privileges --user 1000:1000 \
-p 127.0.0.1:8080:8080 YOUR_IMAGETest in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2025-49596) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - @modelcontextprotocol/inspector (npm): must be 0.14.1 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## MCP Inspector allows unauthenticated remote code execution (CVE-2025-49596)
**Severity:** Critical | **SE Fix-First Score:** 51/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-01580 https://securityelites.com/ai-vulnerabilities/cve-2025-49596-mcp-inspector-allows-unauthenticated-remote-code-execution/
### Why this matters
An attacker on the network or with access to the MCP Inspector port can run any command on the system without logging in. This can lead to data theft, system takeover, installation of malware, or disruption of service.
### What to do
1. Find where MCP Inspector is installed
2. Check the current version
3. Back up your configuration
4. Upgrade to version 0.14.1 or later
5. Verify the fix is in place
6. Review logs for past attacks
7. Audit system changes
8. Restrict network access
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2025-49596-mcp-inspector-allows-unauthenticated-remote-code-execution/
### Done when
- [ ] @modelcontextprotocol/inspector is at 0.14.1 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that @modelcontextprotocol/inspector version 0.14.1 or later is installed by running `npm list @modelcontextprotocol/inspector` and checking the reported version number.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- MCP Inspector can run attacker code when connecting to untrusted servers High · CVE-2025-58444
The same kind of mistake in other AI tools
- Langflow OSS allows arbitrary code execution through tool listing without admin check High · CVE-2026-128876
- Langflow OSS can run arbitrary code via tool-call interface before admin check High · CVE-2026-128867
- Langflow OSS allows remote code execution through improper code handling High · CVE-2026-127065
- Langflow OSS allows authenticated users to run arbitrary code High · CVE-2026-122088
- Langflow OSS allows authenticated users to run any command on the server High · CVE-2026-120601
Change history
- 13 Jun 2025: Made public
- 2 Dec 2026: Published
Official record
Versions of MCP Inspector below 0.14.1 are vulnerable to remote code execution due to lack of authentication between the Inspector client and proxy, allowing unauthenticated requests to launch MCP commands over stdio. Users should immediately upgrade to version 0.14.1 or later to address these vulnerabilities.Credit: Rémy Marot <bughunters@tenable.com>
Weakness type: CWE-306
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2025-49596For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.