# CVE-2026-51870: DeepTutor command execution in ExecTool

Source: https://junglewise.ai/threats/cve-2026-51870-deeptutor-v1-4-0-is-vulnerable-to-command-execution-in-tutorbot  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-30. Updated: 2026-09-30  
License: CC BY 4.0 with a link back

CVE-2026-51870 · Severity: info · Published 2026-09-30

DeepTutor is an AI-powered tutoring system that can be configured with shell execution capabilities. A vulnerability in version 1.4.0 allows user prompts to indirectly trigger arbitrary command execution on the server through the LLM's tool-calling mechanism, giving an attacker the ability to run system commands with the privileges of the application.

Technologies: [HKUDS DeepTutor](https://junglewise.ai/threats/technologies/deeptutor). Vendors: [HKUDS](https://junglewise.ai/threats/vendors/hkuds).

## Quick answers

**Is CVE-2026-51870 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-51870 being exploited in the wild.

**How severe is CVE-2026-51870?** Informational severity, published 30 September 2026.

**Which products and versions are affected?** HKUDS DeepTutor 1.4.0.

**Is there a fix for CVE-2026-51870?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-51870 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-51870?** Check whether you run HKUDS DeepTutor at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The ExecTool.execute method in deeptutor/tutorbot/agent/tools/shell.py allows an LLM to execute shell commands based on user input sent over WebSocket connections. When a TutorBot is configured with ExecTool enabled, user messages are processed by the LLM, which can decide to invoke the shell tool and execute arbitrary commands. The attack requires the user to interact with a TutorBot instance that has ExecTool configured, but no additional authentication bypass is needed—normal WebSocket access is sufficient.

## Affected products

- HKUDS DeepTutor 1.4.0

## Timeline

- 2026-09-30: disclosed
- 2026-09-26: other: Issue #506 reported on GitHub

## References

- [https://gist.github.com/Ro1ME/58b7e7523f517bc1241183ff988b6707](https://gist.github.com/Ro1ME/58b7e7523f517bc1241183ff988b6707)
- [https://github.com/HKUDS/DeepTutor/issues/506](https://github.com/HKUDS/DeepTutor/issues/506)

## Related threats

- [DeepTutor code injection in shell execution tool](https://junglewise.ai/threats/cve-2026-51881-deeptutor-1-4-0-contains-code-injection-in-exectool-execute)
- [deeptutor path traversal in EditFileTool.execute](https://junglewise.ai/threats/cve-2026-51880-deeptutor-1-4-0-contains-a-path-traversal-issue-in-editfiletool)
- [DeepTutor authorization bypass in TutorBotManager file write](https://junglewise.ai/threats/cve-2026-51879-deeptutor-1-4-0-contains-an-authorization-bypass-through-a-user)
- [DeepTutor authorization bypass in session regeneration](https://junglewise.ai/threats/cve-2026-51878-deeptutor-1-4-0-contains-an-authorization-bypass-through-a-user)
- [DeepTutor authorization bypass in book confirmation](https://junglewise.ai/threats/cve-2026-51876-deeptutor-1-4-0-contains-an-authorization-bypass-vulnerability-in)
