CVE-2024-51493: API key access in settings without reauthentication in OctoPrint

Published Nov 5, 2024
·
Updated

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.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
pip/OctoPrint<=1.10.2
1.10.3
OctoPrint OctoPrint<1.10.3

Event History

Nov 5, 2024
Advisory Published
via GitHub·03:08 PM
CVE Published
via MITRE·06:17 PM
Data Sourced
via MITRE·06:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-51493?

CVE-2024-51493 has a moderate severity level due to its impact on user session security.

2

How do I fix CVE-2024-51493?

To fix CVE-2024-51493, upgrade OctoPrint to version 1.10.3 or later.

3

What versions of OctoPrint are affected by CVE-2024-51493?

OctoPrint versions up to and including 1.10.2 are affected by CVE-2024-51493.

4

What type of vulnerability is CVE-2024-51493?

CVE-2024-51493 is a vulnerability that allows session hijacking via an authenticated user's browser session.

5

Who is impacted by CVE-2024-51493?

Users of OctoPrint with versions up to 1.10.2, particularly those with administrative privileges, are impacted by CVE-2024-51493.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203