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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-11-05T15:08:57.000Z
- Modified: 2026-06-17T08:05:47.963Z
- Also known as: GHSA-cc6x-8cc7-9953, PYSEC-2024-202
- Weaknesses: CWE-306, CWE-620
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OctoPrint OctoPrint: < 1.10.3; before 1.10.3
- octoprint (PyPI): before 1.10.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-cc6x-8cc7-9953> (advisory, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-51493](https://www.cve.org/CVERecord?id=CVE-2024-51493), CVE Terms of Use, modified 2024-11-05
- GitHub Advisory Database: [GHSA-cc6x-8cc7-9953](https://github.com/advisories/GHSA-cc6x-8cc7-9953), CC-BY-4.0, modified 2025-01-21
- NVD: [CVE-2024-51493](https://nvd.nist.gov/vuln/detail/CVE-2024-51493), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-202](https://osv.dev/vulnerability/PYSEC-2024-202), CC-BY-4.0, modified 2025-01-19

---

Page: https://cve.day/CVE-2024-51493 · Whole record: https://cve.day/CVE-2024-51493.json · Rebuilt by cve.day 2026-11-25T22:58:47.799Z
