Live threats

All CVEs / Octoprint

CVE-2024-51493Octoprint

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
Nov 5, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-620, CWE-306
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

OctoPrint provides a web interface for controlling consumer 3D printers. 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. This vulnerability will be patched in version 1.10.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Octoprint.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI octoprint < 1.10.3 1.10.3 pip install "octoprint>=1.10.3"
PyPI octoprint < 1.10.3 1.10.3 pip install "octoprint>=1.10.3"

Per OSV / GitHub Advisories (GHSA-cc6x-8cc7-9953, PYSEC-2024-202). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
octoprintoctoprint< 1.10.3

Official sources

References

Links published by the sources. Open them with care.