{"id":"CVE-2024-51493","aliases":["CVE-2024-51493","GHSA-cc6x-8cc7-9953","PYSEC-2024-202"],"related":[],"kind":"vulnerability","state":"published","title":"API key access in settings without reauthentication in OctoPrint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nOctoPrint 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. \n\nAn attacker could use a stolen API key to access OctoPrint through its API, or disrupt workflows depending on the API key they deleted.\n\n### Patches\n\nThe vulnerability will be patched in version 1.10.3.\n\n### Credits\n\nThis vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OctoPrint proporciona una interfaz web para controlar impresoras 3D de consumo. Las versiones de OctoPrint hasta la 1.10.2 incluida contienen una vulnerabilidad que permite a un atacante que ha obtenido control temporal sobre la sesión del navegador OctoPrint de una víctima autenticada recuperar/recrear/eliminar la clave API del usuario o (si la víctima tiene permisos de administrador) la clave API global sin tener que volver a autenticarse ingresando nuevamente la contraseña de la cuenta de usuario. Un atacante podría usar una clave API robada para acceder a OctoPrint a través de su API o interrumpir los flujos de trabajo según la clave API que haya eliminado. Esta vulnerabilidad se solucionará en la versión 1.10.3 y se recomienda a todos los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2024-11-05T15:08:57.000Z","modified":"2026-06-17T08:05:47.963Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-306","CWE-620"],"affected":[{"ranges":[{"version":"< 1.10.3","status":"affected"}],"vendor":"OctoPrint","product":"OctoPrint","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.3"}],"ecosystem":"PyPI","package":"octoprint","purl":"pkg:pypi/octoprint","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.10.3"}],"vendor":"octoprint","product":"octoprint","cpe":"cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.3"}],"ecosystem":"PyPI","package":"octoprint","purl":"pkg:pypi/octoprint","source":"pysec"}],"references":[{"url":"https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-cc6x-8cc7-9953","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51493","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OctoPrint/OctoPrint/commit/9bc80d782d72881b16e20873dcd0b8314324c70c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/OctoPrint/OctoPrint","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2024-202.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-05T19:01:40.538Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-51493","url":"https://www.cve.org/CVERecord?id=CVE-2024-51493","licence":"CVE Terms of Use","modified":"2024-11-05T19:01:48.187Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cc6x-8cc7-9953","url":"https://github.com/advisories/GHSA-cc6x-8cc7-9953","licence":"CC-BY-4.0","modified":"2025-01-21T18:23:41.960Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-51493","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51493","licence":"Public domain","modified":"2026-06-17T08:05:47.963Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-202","url":"https://osv.dev/vulnerability/PYSEC-2024-202","licence":"CC-BY-4.0","modified":"2025-01-19T16:56:59.219Z"}],"updatedAt":"2026-11-25T22:58:47.799Z","epss":{"score":0.00281,"percentile":0.2209,"date":"2026-12-01T12:00:22.000Z"}}