CVE-2021-32560 OctoPrint Incorrect Access Control
Attackers can access or modify non-log files via the logging subsystem due to incorrect access control in OctoPrint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32560?
CVE-2021-32560 is a medium-severity missing authorization vulnerability in n/a, published on 11 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Logging subsystem in OctoPrint before 1.6.0 has incorrect access control because it attempts to manage files that are not *.log files.
Which versions are affected by CVE-2021-32560?
3 open source packages ship an affected version, including octoprint and OctoPrint. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
octoprint PyPI | All versions | 1.6.0 |
octoprint PyPI | All versions | 1.6.0 |
OctoPrint PyPI | All versions | 1.6.0 |
Products include Octoprint Octoprint.
How do I fix CVE-2021-32560?
Upgrade octoprint to 1.6.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-32560 being exploited?
There is no known exploitation of CVE-2021-32560 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2018-16710 Information disclosure in n/a
- CVE-2025-58180 OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload
- CVE-2022-1430 Cross-site Scripting (XSS) - DOM in octoprint/octoprint
- CVE-2022-1432 Cross-site Scripting (XSS) - Generic in octoprint/octoprint
- CVE-2024-32977 OctoPrint Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled
Sources
Also known as GHSA-x9rq-fjp5-qgm9, PYSEC-2021-29.