What’s Vulnerable › Vulnerabilities
CVE-2024-51493: API key access in settings without reauthentication in OctoPrint
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-05 · updated 2026-06-17
- Weakness: CWE-620
Description
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.
Affected products
- OctoPrint: before 1.10.3 — fixed in 1.10.3
How to fix
Upgrade to a fixed version: OctoPrint 1.10.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-51493 or the next vulnerability affects your stack