Skip to content
Heist/ feed
Back to feed
Medium

OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-23892
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:20 UTC · Revision 1

Source evidence

OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication

core-osv · Original source

Published 27 Jan 2026, 18:35 UTC

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.

osv:CVE-2026-23892
Complete source record
{
  "id": "563c2c134def333faff5b7222ca5d2c5df852885173d802fb29c3c466fa57ae5",
  "url": "https://osv.dev/vulnerability/CVE-2026-23892",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication",
    "summary": "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.",
    "evidence": "osv:CVE-2026-23892",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-23892",
      "aliases": [
        "CVE-2026-23892",
        "GHSA-xg4x-w2j3-57h6",
        "PYSEC-2026-1716"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/octoprint/octoprint",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0bd35ddcf316668f9ba5335afbb4c07b4b2ad408"
                },
                {
                  "fixed": "249fd80ab01bc4b7dabedff768230a0fb5d01a8c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "249fd80ab01bc4b7dabedff768230a0fb5d01a8c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0bd35ddcf316668f9ba5335afbb4c07b4b2ad408"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.11.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.11.5",
            "1.11.4",
            "1.11.3",
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.3",
            "1.10.2",
            "1.10.1",
            "1.10.0",
            "1.9.3",
            "1.9.2",
            "1.9.0",
            "1.8.7",
            "1.8.6",
            "1.8.5",
            "1.8.4",
            "1.8.3",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.7.3",
            "1.7.2",
            "1.7.1",
            "1.6.1",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.5.0rc3",
            "1.5.0rc2",
            "1.5.0rc1",
            "1.4.0rc6",
            "1.4.0rc5",
            "1.4.0rc4",
            "1.4.0rc3",
            "1.4.0rc2",
            "1.4.0rc1",
            "1.2.18",
            "1.2.18rc1",
            "1.2.17rc3",
            "1.2.17rc2",
            "1.2.17rc1",
            "1.2.16",
            "1.2.16rc2",
            "1.2.16rc1",
            "1.2.15",
            "1.2.14",
            "1.2.13",
            "1.2.12",
            "1.2.11",
            "1.2.10",
            "1.2.9",
            "1.2.8",
            "1.2.7",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.2.0-rc3",
            "1.2.0-rc2",
            "1.2.0-rc1",
            "1.2.0-dev",
            "1.1.0-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23892.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.237321812Z",
      "provider": "osv",
      "references": [
        "https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23892.json",
        "https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-xg4x-w2j3-57h6",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23892",
        "https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-208"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23892.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23892",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496305,
  "published_at": "2026-01-27T18:35:31.37+00:00"
}