CVE-2021-36711: Remote Code Execution in OctoBot

octobot Updated 02 Oct 2025

Summary

16/07/2022
Yes i
Critical
9.8

CVE-2021-36711: WebInterface in OctoBot before 0.4.4 allows remote code execution because Tentacles upload is mishandled. Affects octobot versions < 0.4.4. Fixed in 0.4.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OctoBot is a Python package available on PyPI that provides a web interface for managing and controlling OctoPrint instances. OctoPrint is an open-source 3D printer management tool. OctoBot allows users to remotely monitor and control their 3D printers through a web-based interface. However, a vulnerability in OctoBot versions prior to 0.4.4 allows for remote code execution due to mishandling of Tentacles uploads.

Vulnerability Detail

The vulnerability (CVE-2021-36711) in OctoBot arises from the improper handling of Tentacles uploads. This flaw can be exploited by an attacker to execute arbitrary code remotely. By uploading a malicious file, an attacker can gain unauthorized access to the target system and potentially perform unauthorized actions, such as modifying or deleting files, executing commands, or even taking control of the entire system. This vulnerability poses a significant risk to the confidentiality, integrity, and availability of the affected system.

How To Fix

Minimum fixed version

0.4.4

This is the first release that contains the fix.

pip install --upgrade "octobot==0.4.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update OctoBot to the latest version to address the issue effectively.

Conclusion

In conclusion, the vulnerability (CVE-2021-36711) in OctoBot allows for remote code execution due to mishandling of Tentacles uploads. To mitigate this risk, it is crucial to update OctoBot to version 0.4.4 or later. Failure to address this vulnerability may result in unauthorized access, data breaches, and potential compromise of the affected system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for octobot →

Share this vulnerability

FAQ

OctoBot is a Python package that provides a web interface for managing and controlling OctoPrint instances, which are used for 3D printer management.

This vulnerability allows for remote code execution, enabling an attacker to execute arbitrary code on the target system. This can lead to unauthorized access, data breaches, and potential control of the affected system.

To fix this vulnerability, update OctoBot to version 0.4.4 or later. This version includes a patch that addresses the issue.

No, there is no known workaround for this vulnerability. It is crucial to update OctoBot to the latest version.

For more information about this vulnerability, you can refer to the official advisory from the Python Package Index (PyPI) advisory database.

How To Fix

Minimum fixed version

0.4.4

This is the first release that contains the fix.

pip install --upgrade "octobot==0.4.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback