CVE-2026-23892: OctoPrint OctoPrint Has Timing Side-Channel Vulnerability Vulnerability
MODERATECVE-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
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).
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.
pip install OctoPrint>=1.11.6
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
CVE-2026-23892 Affected OctoPrint Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
OctoPrint
|
PyPI |
< 1.11.6
|
1.11.6
|
References
Frequently Asked Questions
What is CVE-2026-23892?
Which OctoPrint versions are affected?
What version fixes CVE-2026-23892?
Is OctoPrint affected?
What is the CVSS score of CVE-2026-23892?
What CWE is associated with CVE-2026-23892?
How can I check PyPI dependencies for CVE-2026-23892?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}