Skip to content

← Public intelligence

PyPI package

octoprint

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

23 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.0PyPIAmendedPublished

    OctoPrint has possible file exfiltration via query parameters on upload endpoints

    CVE-2026-54134 · GHSA-j4h9-pm27-4rfw

    Affected
    • PyPI octoprint <= 1.11.7; >= 2.0.0rc1, <= 2.0.0rc2
    Fixed in
    1.11.82.0.0rc3· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.11.7 as well as 2.0.0rc1 and 2.0.0rc2 contain a vulnerability that allows an attacker with the FILEUPLOAD permission to exfiltrate files from the host that OctoPrint has read access to, by moving them into the upload folder where they then can be downloaded from. This vulnerability was already reported as GHSA-m9jh-jf9h-x3h2/CVE-2025-48067 but the fix provided in OctoPrint 1.11.2 turned out to be incomplete. The primary risk lies in the potential exfiltration of secrets stored inside OctoPrint's config, or further system files. By removing important runtime files, this could also be used to impact the availability of the host after an attempted server restart. Given that the attacker requires a user account with file upload permissions, the actual impact of this should however hopefully be minimal in most cases. Patches The vulnerability has been patched in version 1.11.8 and 2.0.0rc3. Details OctoPrint's web application is…

    Recommended action: Upgrade to 2.0.0rc3 (pre-release) or 1.11.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Medium, CVSS 4.6PyPIAmendedPublished

    OctoPrint has XSS in its Suppressed Command Notifications

    CVE-2026-35163 · GHSA-p6qx-ghxm-389h

    Affected
    • PyPI octoprint <= 1.11.7; >= 2.0.0rc1, <= 2.0.0rc2
    Fixed in
    1.11.82.0.0rc3· Vendor fix available
    Issue
    Impact OctoPrint versions up to and including 1.11.7 as well as 2.0.0rc1 and 2.0.0rc2 are affected by a vulnerability that allows injection of arbitrary HTML and JavaScript into Suppressed Command notifications popups generated by the printer. An attacker who successfully convinces a victim to print a specially crafted file could exploit this issue to disrupt ongoing prints, extract information (including sensitive configuration settings, if the targeted user has the necessary permissions for that), or perform other actions on behalf of the targeted user within the OctoPrint instance. Patches The vulnerability has been patched in version 1.11.8 and 2.0.0rc3. Workaround OctoPrint administrators can mitigate the risk by disabling popups: - for Action Command notifications, set OctoPrint Settings - Serial Connection - Behaviour - Sanity Checking - Display notifications for suppressed commands to Never show notifications It is also strongly recommended to ensure that files being printed…

    Recommended action: Upgrade to 2.0.0rc3 (pre-release) or 1.11.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 6.0PyPIAmendedPublished

    OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication

    CVE-2026-23892 · GHSA-xg4x-w2j3-57h6

    Affected
    • PyPI octoprint < 1.11.6
    Fixed in
    1.11.6· Vendor fix available
    Issue
    Impact OctoPrint versions up to and including 1.11.5 are affected by a (theoretical) timing attack vulnerability that allows API key extraction over the network. Due to using character based comparison that short-circuits on the first mismatched character during API key validation, rather than a cryptographical method with static runtime regardless of the point of mismatch, an attacker with network based access to an affected OctoPrint could extract API keys valid on the instance by measuring the response times of the denied access responses and guess an API key character by character. Patches The vulnerability will be patched in version 1.11.6. Workaround The likelihood of this attack actually working is highly dependent on the network's latency, noise and similar parameters. An actual proof of concept was not achieved so far. Still, as always administrators are advised to not expose their OctoPrint instance on hostile networks, especially not on the public Internet! Credits This…

    Recommended action: Upgrade to 1.11.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 4.6PyPIAmendedPublished

    OctoPrint vulnerable to XSS in Action Commands Notification and Prompt

    CVE-2025-64187 · GHSA-crvm-xjhm-9h29

    Affected
    • PyPI octoprint <= 1.11.3
    Fixed in
    1.11.4· Vendor fix available
    Issue
    Impact OctoPrint versions up to and including 1.11.3 are affected by a vulnerability that allows injection of arbitrary HTML and JavaScript into Action Command notification and prompt popups generated by the printer. An attacker who successfully convinces a victim to print a specially crafted file could exploit this issue to disrupt ongoing prints, extract information (including sensitive configuration settings, if the targeted user has the necessary permissions for that), or perform other actions on behalf of the targeted user within the OctoPrint instance. Patches The vulnerability will be patched in version 1.11.4. Workaround OctoPrint administrators can mitigate the risk by disabling popups: - for Action Command notifications, uncheck OctoPrint Settings - Printer Notifications - Enable popups - for Action Command prompts, set OctoPrint Settings - Printer Dialogs - Enable support - Never It is also strongly recommended to ensure that files being printed originate from trusted…

    Recommended action: Upgrade to 1.11.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 7.5PyPIAmendedPublished

    OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload

    CVE-2025-58180 · GHSA-49mj-x8jp-qvfc

    Affected
    • PyPI octoprint < 1.11.3
    Fixed in
    1.11.3· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.11.2 contain a vulnerability that allows an authenticated attacker to upload a file under a specially crafted filename that will allow arbitrary command execution if said filename becomes included in a command defined in a system event handler and said event gets triggered. If no event handlers executing system commands with uploaded filenames as parameters have been configured, this vulnerability does not have an impact. Patches The vulnerability will be patched in version 1.11.3. Workaround Until the patch has been applied, OctoPrint administrators who have event handlers configured that include any kind of filename based placeholders (i.e. {filename}, {filepath}, {filename}, {path}, etc -- refer to the events documentation for a full list) should disable those by setting their enabled property to False or unchecking the "Enabled" checkbox in the GUI based Event Manager. Alternatively, OctoPrint administrators should set…

    Recommended action: Upgrade to 1.11.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 6.5PyPIAmendedPublished

    OctoPrint Vulnerable to Denial of Service through malformed HTTP request in OctoPrint

    CVE-2025-48879 · GHSA-9wj4-8h85-pgrw

    Affected
    • PyPI octoprint < 1.11.2
    Fixed in
    1.11.2· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.11.1 contain a vulnerability that allows any unauthenticated attacker to send a manipulated broken multipart/form-data request to OctoPrint and through that make the web server component become unresponsive. This could be used to effectively run a denial of service attack on the OctoPrint server. Patches The vulnerability has been patched in version 1.11.2. Workaround OctoPrint administrators are once more reminded to not make OctoPrint available on hostile networks (e.g. the internet), regardless of whether this vulnerability is patched or not. Details The issue can be triggered by a broken multipart/form-data request lacking an end boundary to any of OctoPrint's endpoints implemented through the octoprint.server.util.tornado.UploadStorageFallbackHandler request handler. The request handler will get stuck in an endless busy loop, looking for a part of the request that will never come. As Tornado is single-threaded, that will…

    Recommended action: Upgrade to 1.11.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Medium, CVSS 5.4PyPIAmendedPublished

    OctoPrint vulnerable to possible file extraction via upload endpoints

    CVE-2025-48067 · GHSA-m9jh-jf9h-x3h2

    Affected
    • PyPI octoprint < 1.11.2
    Fixed in
    1.11.2· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.11.1 contain a vulnerability that allows an attacker with the FILEUPLOAD permission to exfiltrate files from the host that OctoPrint has read access to, by moving them into the upload folder where they then can be downloaded from. The primary risk lies in the potential exfiltration of secrets stored inside OctoPrint's config, or further system files. By removing important runtime files, this could also be used to impact the availability of the host. Given that the attacker requires a user account with file upload permissions, the actual impact of this should however hopefully be minimal in most cases. Patches The vulnerability has been patched in version 1.11.2. Details A specially crafted HTTP Request to an affected upload endpoint that contains some form inputs only supposed to be used internally can be used to make OctoPrint move a file that it thinks is a freshly uploaded temporary one into its upload folder. The following…

    Recommended action: Upgrade to 1.11.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Medium, CVSS 4.3PyPIAmendedPublished

    OctoPrint Authenticated Reverse Proxy Page Authentication Bypass

    CVE-2025-32788 · GHSA-qw93-h6pf-226x

    Affected
    • PyPI octoprint <= 1.10.3
    Fixed in
    1.11.0· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.10.3 contain a vulnerability that allows an attacker to bypass the login redirect and directly access the rendered HTML of certain frontend pages. The impact on data exposure is minimal because, typically, data is loaded via API requests that correctly enforce user authentication. In the current codebase, cases where data is directly embedded in the page content are rare. However, one notable exception is the authenticated variant of the reverse proxy test page, which displays the IP addresses of configured reverse proxies. The primary risk lies in potential future modifications to the codebase that might incorrectly rely on the vulnerable internal functions for authentication checks, leading to security vulnerabilities. Patches The vulnerability has been patched in version 1.11.0. Details An authentication bypass vulnerability exists in the following functions defined in octoprint/server/util/init.py: - requirelogin -…

    Recommended action: Upgrade to 1.11.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Medium, CVSS 4.8PyPIAmendedPublished

    OctoPrint has API key access in settings without reauthentication

    CVE-2024-51493 · GHSA-cc6x-8cc7-9953

    Affected
    • PyPI octoprint <= 1.10.2
    Fixed in
    1.10.3· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.10.2 contain a vulnerability that allows an attacker that has gained temporary control over an authenticated victim's OctoPrint browser session to retrieve/recreate/delete the user's or - if the victim has admin permissions - the global API key without having to reauthenticate by re-entering the user account's password. An attacker could use a stolen API key to access OctoPrint through its API, or disrupt workflows depending on the API key they deleted. Patches The vulnerability will be patched in version 1.10.3. Credits This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.

    Recommended action: Upgrade to 1.10.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Medium, CVSS 5.1PyPIAmendedPublished

    OctoPrint Vulnerable to Reflected XSS in Jinja2 Templates

    CVE-2024-49377 · GHSA-xvxq-g8hw-fx4g

    Affected
    • PyPI octoprint <= 1.10.2
    Fixed in
    1.10.3· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.10.2 are vulnerable to reflected XSS vulnerabilities through its Jinja2 template system, as this is not configured to enforce automatic escaping. This affects, among other places, the login dialog and the standalone application key confirmation dialog. An attacker who successfully talked a victim into clicking on or through a malicious third party app successfully redirected a victim to a specially crafted link could use this to retrieve or modify sensitive configuration settings, interrupt prints or otherwise interact with the OctoPrint instance in a malicious way. Patches The above mentioned specific vulnerabilities of the login dialog and the standalone application key confirmation dialog will be patched in the bugfix release 1.10.3 by individual escaping of the detected locations. A global change throughout all of OctoPrint's templating system with the upcoming 1.11.0 release will handle this further, switching to globally…

    Recommended action: Upgrade to 1.10.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. High, CVSS 7.1PyPIAmendedPublished

    OctoPrint has an Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled

    CVE-2024-32977 · GHSA-2vjq-hg5w-5gm7

    Affected
    • PyPI octoprint <= 1.10.0
    Fixed in
    1.10.1· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.10.0 contain a vulnerability that allows an unauthenticated attacker to completely bypass the authentication if the autologinLocal option is enabled within config.yaml, even if they come from networks that are not configured as localNetworks, by spoofing their IP via the X-Forwarded-For header. If autologin is not enabled, this vulnerability does not have any impact. Patches The vulnerability has been patched in version 1.10.1. Workaround Until the patch has been applied, OctoPrint administrators who have autologin enabled on their instances should disable it and/or to make the instance inaccessible from potentially hostile networks like the internet. PoC 1. Enable the autologinAs configuration within the accessControl section in the OctoPrint yaml configuration file 2. Set your browser to add the X-Forwarded-For: 127.0.0.1 header to HTTP requests. For example, this can be done using proxy software like Burp Suite. Alternatively,…

    Recommended action: Upgrade to 1.10.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. Medium, CVSS 4.0PyPIAmendedPublished

    XSS via the "Snapshot Test" feature in Classic Webcam plugin settings

    CVE-2024-28237 · GHSA-x7mf-wrh9-r76c

    Affected
    • PyPI octoprint <= 1.9.3
    Fixed in
    1.10.0rc3· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.9.3 contain a vulnerability that allows malicious admins to configure or talk a victim with administrator rights into configuring a webcam snapshot URL which when tested through the "Test" button included in the web interface will execute JavaScript code in the victims browser when attempting to render the snapshot image. An attacker who successfully talked a victim with admin rights into performing a snapshot test with such a crafted URL could use this to retrieve or modify sensitive configuration settings, interrupt prints or otherwise interact with the OctoPrint instance in a malicious way. Patches The vulnerability will be patched in version 1.10.0. Workaround OctoPrint administrators are strongly advised to thoroughly vet who has admin access to their installation and what settings they modify based on instructions by strangers. PoC Below are the steps to reproduce the vulnerability: 1. Create a URL that responds with a…

    Recommended action: Upgrade to 1.10.0rc3 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. Medium, CVSS 4.2PyPIAmendedPublished

    OctoPrint Unverified Password Change via Access Control Settings

    CVE-2024-23637 · GHSA-5626-pw9c-hmjr

    Affected
    • PyPI octoprint <= 1.9.3
    Fixed in
    1.10.0rc1· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.9.3 contain a vulnerability that allows malicious admins to change the password of other admin accounts, including their own, without having to repeat their password. An attacker who managed to hijack an admin account might use this to lock out actual admins from their OctoPrint instance. Patches The vulnerability will be patched in version 1.10.0. Workarounds OctoPrint administrators are strongly advised to thoroughly vet who has admin access to their installation. Credits This vulnerability was discovered and responsibly disclosed to OctoPrint by Timothy "TK" Ruppert.

    Recommended action: Upgrade to 1.10.0rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. High, CVSS 8.4PyPIAmendedPublished

    OctoPrint vulnerable to Improper Neutralization of Special Elements Used in a Template Engine

    CVE-2023-41047 · GHSA-fwfg-vprh-97ph

    Affected
    • PyPI octoprint < 1.9.3
    Fixed in
    1.9.3· Vendor fix available
    Issue
    Impact OctoPrint versions up until and including 1.9.2 contain a vulnerability that allows malicious admins to configure a specially crafted GCODE script through the Settings that will allow code execution during rendering of that script. An attacker might use this to extract data managed by OctoPrint, or manipulate data managed by OctoPrint, as well as execute arbitrary commands with the rights of the OctoPrint process on the server system. Please note that GCODE files uploaded to be printed are not affected! This vulnerability exclusively affects GCODE Scripts to be executed on connection to the printer, print pause, resume etc, as described in the documentation, to be found under Settings GCODE Scripts and configurable only by users with the ADMIN permission. Patches The vulnerability has been patched in version 1.9.3. Workarounds OctoPrint administrators are strongly advised to thoroughly vet who has admin access to their installation and to not blindly configure arbitrary GCODE…

    Recommended action: Upgrade to 1.9.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. Medium, CVSS 6.1PyPIAmendedPublished

    OctoPrint vulnerable to Special Element Injection

    CVE-2022-3607 · GHSA-rj5f-vm79-5j84

    Affected
    • PyPI octoprint < 1.8.3
    Fixed in
    1.8.3· Vendor fix available
    Issue
    OctoPrint prior to 1.8.3 is vulnerable to Special Element Injection.

    Recommended action: Upgrade to 1.8.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  16. Low, CVSS 2.1PyPIAmendedPublished

    OctoPrint vulnerable to Unrestricted Upload of File with Dangerous Type

    CVE-2022-2872 · GHSA-49wm-4fp6-h59c

    Affected
    • PyPI octoprint < 1.8.3
    Fixed in
    1.8.3· Vendor fix available
    Issue
    OctoPrint prior to version 1.8.3 is vulnerable to Unrestricted Upload of File with Dangerous Type. Due to misconfiguration in move file functionality, an attacker could easily change the file extension of an uploaded malicious file disguised as a .gcode file. Version 1.8.3 contains a patch.

    Recommended action: Upgrade to 1.8.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  17. High, CVSS 8.7PyPIAmendedPublished

    OctoPrint Improper Privilege Management vulnerability

    CVE-2022-3068 · GHSA-2p75-q37p-f852

    Affected
    • PyPI octoprint < 1.8.3
    Fixed in
    1.8.3· Vendor fix available
    Issue
    OctoPrint prior to 1.8.3 allows a user with read access only to access a privileged user's account and functionality. Version 1.8.3 contains a patch for this issue.

    Recommended action: Upgrade to 1.8.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  18. Medium, CVSS 5.3PyPIAmendedPublished

    OctoPrint vulnerable to Insufficient Session Expiration.

    CVE-2022-2888 · GHSA-937f-qh3w-6g87

    Affected
    • PyPI octoprint < 1.8.3
    Fixed in
    1.8.3· Vendor fix available
    Issue
    If an attacker comes into the possession of a victim's OctoPrint session cookie through whatever means, the attacker can use this cookie to authenticate as long as the victim's account exists. This issue is fixed in version 1.8.3.

    Recommended action: Upgrade to 1.8.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  19. Medium, CVSS 5.3PyPIAmendedPublished

    Unverified Password Change in OctoPrint

    CVE-2022-2930 · GHSA-39gf-864w-pxw4

    Affected
    • PyPI octoprint < 1.8.3
    Fixed in
    1.8.3· Vendor fix available
    Issue
    Versions of OctoPrint prior to 1.8.3 did not require the current user password in order to change that users password. As a result users could be locked out of their accounts or have their accounts stolen under certain circumstances.

    Recommended action: Upgrade to 1.8.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  20. High, CVSS 7.1PyPIAmendedPublished

    OctoPrint Incorrect Access Control

    CVE-2021-32560 · GHSA-x9rq-fjp5-qgm9

    Affected
    • PyPI octoprint < 1.6.0
    Fixed in
    1.6.0· Vendor fix available
    Issue
    The Logging subsystem in OctoPrint before 1.6.0 has incorrect access control because it attempts to manage files that are not .log files.

    Recommended action: Upgrade to 1.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  21. Medium, CVSS 5.3PyPIAmendedPublished

    OctoPrint API Error Messages vulnerable to XSS

    CVE-2021-32561 · GHSA-vcx4-fpmp-mvv6

    Affected
    • PyPI octoprint < 1.6.0
    Fixed in
    1.6.0· Vendor fix available
    Issue
    OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.

    Recommended action: Upgrade to 1.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  22. High, CVSS 7.7PyPIAmendedPublished

    Cross-site Scripting in OctoPrint

    CVE-2022-1430 · GHSA-x7r7-wmj8-vv5g

    Affected
    • PyPI octoprint < 1.8.0
    Fixed in
    1.8.0· Vendor fix available
    Issue
    Cross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0. The login endpoint allows for javascript injection which may lead to account takeover in a phishing scenario.

    Recommended action: Upgrade to 1.8.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  23. High, CVSS 7.7PyPIAmendedPublished

    Cross-site Scripting in OctoPrint

    CVE-2022-1432 · GHSA-h8pc-j334-jjhm

    Affected
    • PyPI octoprint < 1.8.0
    Fixed in
    1.8.0· Vendor fix available
    Issue
    Cross-site Scripting (XSS) - Generic in GitHub repository octoprint/octoprint prior to 1.8.0. The Stream URL of octoprint application allowing a xss payload to execute.

    Recommended action: Upgrade to 1.8.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →