{"id":"CVE-2026-23892","published":"2026-01-27T18:35:31Z","modified":"2026-01-27T19:14:50Z","title":"OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication","vendor":"OctoPrint","product":"OctoPrint","tier":"tail","description":{"text":"OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up to and including 1.11.5 are affected by a (theoretical) timing attack vulnerability that allows API key extraction over the network. Due to using character based comparison that short-circuits on the first mismatched character during API key validation, rather than a cryptographical method with static runtime regardless of the point of mismatch, an attacker with network based access to an affected OctoPrint could extract API keys valid on the instance by measuring the response times of the denied access responses and guess an API key character by character. The vulnerability is patched in version 1.11.6. The likelihood of this attack actually working is highly dependent on the network's latency, noise and similar parameters. An actual proof of concept was not achieved so far. Still, as always administrators are advised to not expose their OctoPrint instance on hostile networks, especially not on the public Internet.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00433,"percentile":0.38456,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-xg4x-w2j3-57h6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c","tags":["x_refsource_MISC"]},{"url":"https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.6","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.69},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"octoprint","affectedVersions":[{"vendor":"OctoPrint","product":"OctoPrint","versions":["< 1.11.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T19:13:25.472857Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"OctoPrint","vulnerableRanges":["<1.11.6"],"patched":["1.11.6"],"from":["GHSA-xg4x-w2j3-57h6","PYSEC-2026-1716"],"provenance":"source"}],"summary":{"text":"OctoPrint, the web interface for controlling consumer 3D printers, versions up to and including 1.11.5 compare API keys character by character during validation, short-circuiting on the first mismatch. An attacker with network access to an affected instance could theoretically recover a valid API key by measuring response-time differences across denied requests, though this is highly dependent on network latency and noise and has not been demonstrated in practice.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:06Z"},"euvd":{"id":"EUVD-2026-4775","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-octoprint-cve-2022-1432","parents":[{"from":"CVE-2022-2888","to":"CVE-2026-23892","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/access/users.py"],"commits":["https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c"],"basis":"rarely changed file"}]},{"from":"CVE-2024-23637","to":"CVE-2026-23892","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/plugins/appkeys/__init__.py","src/octoprint/server/util/__init__.py"],"commits":["https://github.com/OctoPrint/OctoPrint/commit/1729d167b4ae4a5835bbc7211b92c6828b1c4125","https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c"],"basis":"rarely changed file"}]},{"from":"CVE-2025-32788","to":"CVE-2026-23892","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/server/util/__init__.py"],"commits":["https://github.com/OctoPrint/OctoPrint/commit/41ff431014edfa18ca1a01897b10463934dc7fc2","https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-32788","published":"2025-04-22","fixed":"1.11.0","kev":false},{"cve":"CVE-2025-48067","published":"2025-06-10","fixed":"1.11.2","kev":false},{"cve":"CVE-2025-48879","published":"2025-06-10","fixed":"1.11.2","kev":false,"link":{"from":"CVE-2025-48879","to":"CVE-2026-23892","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OctoPrint","fromFixed":"1.11.2","toFixed":"1.11.6","daysApart":231}]}},{"cve":"CVE-2026-23892","published":"2026-01-27","fixed":"1.11.6","kev":false},{"cve":"CVE-2026-35163","published":"2026-08-21","fixed":"2.0.0rc3","kev":false,"link":{"from":"CVE-2026-23892","to":"CVE-2026-35163","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OctoPrint","fromFixed":"1.11.6","toFixed":"1.11.8","daysApart":206}]}},{"cve":"CVE-2026-54134","published":"2026-08-21","fixed":"2.0.0rc3","kev":false,"link":{"from":"CVE-2026-23892","to":"CVE-2026-54134","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OctoPrint","fromFixed":"1.11.6","toFixed":"1.11.8","daysApart":206}]}},{"cve":"CVE-2026-123364","published":"2026-11-09","fixed":"2.0.0rc7","kev":false}],"package":"PyPI:OctoPrint"}}