HIGH 8.8

CVE-2026-58168: DeepTutor Authorization Bypass Allows Unrestricted MCP Tool Access

DeepTutor before version 1.4.10 has a flaw that lets low-privilege users run any tool connected to the system without proper authorization checks. When a system administrator forgets to explicitly deny access to certain tools (Model Context Protocol or MCP tools), the software defaults to allowing everything instead of blocking access. This means an attacker or malicious prompt inside a user's session can use any available tool—like accessing files, running shell commands, or controlling a browser—potentially compromising sensitive data and system integrity.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-862
Affected products
0 configuration(s)
Published / Modified
2026-06-30 / 2026-07-14

NVD description (verbatim)

DeepTutor before version 1.4.10 contains an authorization bypass vulnerability that allows low-privilege users to invoke unrestricted MCP tools due to the allowed_mcp_tools function returning None instead of a denied result when mcp_tools is omitted from a user's grant in deeptutor/multi_user/tool_access.py. Attackers or prompt-injected content acting within a user session can enumerate and invoke any configured MCP tool, including filesystem, shell, and browser servers, gaining unauthorized access to sensitive deployment resources.

5 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exists in deeptutor/multi_user/tool_access.py where the allowed_mcp_tools function returns None (permissive) rather than a denied result when mcp_tools is absent from a user's access grant. MCP tools, a model context protocol layer for tool execution, include filesystem, shell, and browser servers. The logic flaw creates a dangerous default-allow pattern: if an administrator omits mcp_tools from a user's grant configuration, the absence of an explicit denial is misinterpreted as blanket permission. An attacker with low privilege or through prompt injection within an existing session can enumerate available MCP tools and invoke them without restriction, bypassing the intended access control model.

Business impact

Exploitation could lead to unauthorized access to sensitive deployment resources, data exfiltration, system command execution, and lateral movement within infrastructure. Organizations running DeepTutor in multi-user environments face elevated risk of insider threats and prompt-injection attacks compromising confidential information, operational continuity, and compliance posture. The severity is heightened in cloud or shared-tenant deployments where isolation is critical.

Affected systems

DeepTutor versions before 1.4.10 are affected. The vulnerability requires an active user session or low-privilege account, so systems with multi-user access or those exposed to untrusted prompts are at highest risk. Single-user or air-gapped deployments have reduced attack surface but are not immune to prompt-injection vectors.

Exploitability

Exploitability is straightforward: a low-privilege user or prompt-injected content within a session can immediately enumerate and invoke MCP tools without authentication or authorization barriers. No user interaction beyond normal session activity is required. Network access is required to reach the DeepTutor instance. The attack requires existing user credentials or session hijacking, but once inside, the authorization bypass requires no additional complexity.

Remediation

Upgrade DeepTutor to version 1.4.10 or later, which corrects the allowed_mcp_tools function to return a denied result (rather than None) when mcp_tools is omitted from a user's grant. After patching, review all existing user access grants to ensure mcp_tools are explicitly configured per user role and principle of least privilege. Consider implementing additional controls such as MCP tool usage logging, prompt injection detection, and network segmentation between user-facing applications and sensitive backend tools.

Patch guidance

Update DeepTutor to version 1.4.10 or later. Verify the patch is applied by checking the version number in your deployment (typically available via the application's About page or API endpoint). Before patching production, test the update in a staging environment to ensure no breaking changes to existing user grants or tool configurations. After applying the patch, restart all DeepTutor instances and confirm that low-privilege users can no longer invoke tools not explicitly granted to them.

Detection guidance

Monitor logs for attempts to invoke MCP tools (filesystem, shell, browser servers) by accounts with restricted privileges or unusual tool invocation patterns. Search for Tool not allowed or permission denied errors followed by successful tool execution—this sequence indicates a potential bypass. Examine audit trails for users suddenly accessing tools they should not have permission for. Implement real-time alerting on unauthenticated or unauthorized MCP tool invocations. Check for prompt injection payloads attempting to enumerate or invoke tools via user input.

Why prioritize this

This is a HIGH-severity authorization bypass affecting confidentiality, integrity, and availability with a CVSS score of 8.8. The default-allow logic is particularly dangerous because misconfiguration becomes the common case rather than the exception. Low privileges required for exploitation and network accessibility make this a practical risk in most DeepTutor deployments. Prompt injection vectors in AI/LLM contexts are increasingly common, amplifying real-world likelihood. Organizations should prioritize patching within 30 days.

Risk score, explained

CVSS 8.8 reflects: network-accessible vector (AV:N), low attack complexity (AC:L), low privilege required (PR:L), no user interaction needed (UI:N), and high impact across confidentiality, integrity, and availability (C:H/I:H/A:H). The score appropriately captures the severity of unrestricted tool access in a multi-user system. The lack of KEV inclusion indicates no evidence of active in-the-wild exploitation at publication, but the straightforward nature of the bypass and growing LLM security scrutiny warrant assumption of active development of exploits.

Frequently asked questions

What exactly is an MCP tool in DeepTutor?

MCP (Model Context Protocol) tools are integrations that allow DeepTutor to interact with external systems. Filesystem tools enable file read/write access, shell tools allow command execution, and browser tools control web automation. These are powerful but sensitive and must be restricted per user role.

If I removed mcp_tools from a user's grant to deny access, did that actually work before the patch?

No. The bug means that omitting mcp_tools from a grant was interpreted as 'allow all MCP tools' rather than 'deny all MCP tools.' To have actually denied access before patching, you would have needed to explicitly set mcp_tools to an empty list or a deny list in your configuration—simply leaving it out did the opposite of what you intended.

Can prompt injection exploit this vulnerability?

Yes. If a user session is compromised or if an attacker crafts a malicious prompt instructing DeepTutor to invoke a tool, the unauthorized tool access allows the prompt to succeed. This is especially dangerous in scenarios where untrusted data is fed into the model.

Do I need to update user access grants after patching to version 1.4.10?

You should audit and update grants after patching. Review which users actually need access to MCP tools and configure mcp_tools explicitly for each user or role. This ensures least-privilege posture is restored and prevents any users from having unintended tool access going forward.

This analysis is provided for informational purposes to help security teams assess and remediate CVE-2026-58168. The vulnerability details and patch information are based on source data available as of the publication date. Organizations should verify patch availability and compatibility with their specific DeepTutor deployment against the official vendor advisory before applying updates. No liability is assumed for damage resulting from application or non-application of this guidance. Always test patches in a non-production environment first. Source: NVD (public-domain), retrieved 2026-08-09. Analysis generated by SEC.co (claude-haiku-4-5).