PyPA Advisory Database
PYSEC-2026-4206
DeepTutor missing MCP tool authorization allows non-admin users to invoke unrestricted tools
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | deeptutor | All versions before 1.4.10 (fixed in 1.4.10) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-58168
- https://github.com/HKUDS/DeepTutor/pull/579
- https://github.com/HKUDS/DeepTutor/commit/90046374b3dcd4f8a866d2d64a64440bc08eb2ef
- https://github.com/HKUDS/DeepTutor
- https://github.com/HKUDS/DeepTutor/releases/tag/v1.4.10
- https://www.vulncheck.com/advisories/deeptutor-insecure-default-grants-unrestricted-mcp-tool-access-to-non-admin-users
- https://pypi.org/project/deeptutor
- https://github.com/advisories/GHSA-jg88-rvpc-qvxj