CVE-2026-23892: OctoPrint OctoPrint Has Timing Side-Channel Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-xg4x-w2j3-57h6
CVSS 5.9
CWE-208
Published
Advisory Summary

CVE-2026-23892 is a MODERATE (CVSS 5.9) octoprint has timing side-channel vulnerability vulnerability (CWE-208: Observable Timing Discrepancy) affecting OctoPrint libraries in the PyPI ecosystem. The issue involves octoprint has timing side-channel vulnerability in api key authentication. Remediation is available by upgrading affected packages to version 1.11.6.

CVE-2026-23892 at a Glance

CVE Identifier CVE-2026-23892
GHSA Identifier GHSA-xg4x-w2j3-57h6
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-208: Observable Timing Discrepancy
Affected Product OctoPrint
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-23892

To remediate this vulnerability, upgrade all affected OctoPrint dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

OctoPrint fixed: 1.11.6
pip install OctoPrint>=1.11.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show OctoPrint

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-23892, inspect your installed packages using pip:

pip show OctoPrint

Analyze the terminal output to locate any version of OctoPrint in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.6), your application is affected.

Note: The pip show OctoPrint command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In OctoPrint, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact 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. ### Patches The vulnerability will be patched in version 1.11.6. ### Workaround 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! ### Credits This vulnerability was discovered and responsibly disclosed to OctoPrint by [Knox Liu](https://github.com/yueyueL).

CVE-2026-23892 Affected OctoPrint Versions

1 component(s)
Fixed Versions:
1.11.6
Product / Package Ecosystem Affected Versions Fixed Version
OctoPrint
PyPI
< 1.11.6
1.11.6

References

Frequently Asked Questions

What is CVE-2026-23892?
CVE-2026-23892 is a security vulnerability in OctoPrint involving OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication under CWE-208: Observable Timing Discrepancy.
Which OctoPrint versions are affected?
Affected versions include releases prior to 1.11.6 across affected packages: OctoPrint.
What version fixes CVE-2026-23892?
Upgrading to 1.11.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is OctoPrint affected?
Yes, OctoPrint is affected in releases prior to 1.11.6. Upgrade your dependency to 1.11.6 or later.
What is the CVSS score of CVE-2026-23892?
CVE-2026-23892 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-23892?
CVE-2026-23892 is classified under CWE-208: Observable Timing Discrepancy (Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.).
How can I check PyPI dependencies for CVE-2026-23892?
Run the dependency tree command: 'pip show OctoPrint'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xg4x-w2j3-57h6",
  "modified" : "2026-02-02T16:33:31Z",
  "published" : "2026-01-27T18:33:50Z",
  "aliases" : [ "CVE-2026-23892" ],
  "summary" : "OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication",
  "details" : "### Impact\n\nOctoPrint versions up to and including 1.11.5 are affected by a (theoretical) timing attack vulnerability that allows API key extraction over the network.\n\nDue 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.\n\n### Patches\n\nThe vulnerability will be patched in version 1.11.6.\n\n### Workaround\n\nThe 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!\n\n### Credits\n\nThis vulnerability was discovered and responsibly disclosed to OctoPrint by [Knox Liu](https://github.com/yueyueL).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "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" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "OctoPrint"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.11.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-xg4x-w2j3-57h6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23892"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OctoPrint/OctoPrint"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-208" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-27T18:33:50Z",
    "nvd_published_at" : "2026-01-27T19:16:16Z"
  }
}