CVE-2024-51493
MEDIUM 6.5CVSS 3.1OctoPrint has API key access in settings without reauthentication
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.
- Published
- 5 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-306CWE-620
- Also known as
- GHSA-cc6x-8cc7-9953PYSEC-2024-202
- Sources
- NVDJSONOSV GHSA-cc6x-8cc7-9953JSONOSV PYSEC-2024-202JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | octoprint | octoprintcpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:* |
< 1.10.3 | 1.10.3 |
| OSV | PyPI | octoprint | < 1.10.3 | 1.10.3 |
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-cc6x-8cc7-9953 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-51493 · ADVISORY
- https://github.com/OctoPrint/OctoPrint/commit/9bc80d782d72881b16e20873dcd0b8314324c70c · WEB
- https://github.com/OctoPrint/OctoPrint · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2024-202.yaml · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 5 Nov 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Nov 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Nov 2024)