OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-208.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OctoPrint | OctoPrint | before 1.11.6 | 1.11.6 | Patch available | CNA |
| — | OctoPrint (PyPI) | before 1.11.6 | 1.11.6 | Patch available | GHSA-xg4x-w2j3-57h6 |
- OctoPrint VendorOctoPrint Affected before 1.11.6 Fixed in 1.11.6 Patch available CNA
- OctoPrint (PyPI) Vendor— Affected before 1.11.6 Fixed in 1.11.6 Patch available GHSA-xg4x-w2j3-57h6
Remediation
- Fix · CNA OctoPrint (OctoPrint) Fixed in 1.11.6
- Fix · GHSA-xg4x-w2j3-57h6 OctoPrint (PyPI) Fixed in 1.11.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-23892
- 2026-10-03 Alias added: GHSA-xg4x-w2j3-57h6
References
Advisory 2
More Octoprint vulnerabilities
- TI-2022-02830 Improper Privilege Management in octoprint/octoprint CVSS 3.1HIGH 8.8
- TI-2022-03320 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in octoprint/octoprint CVSS 3.1MEDIUM 6.0
- TI-2022-02664 Unrestricted Upload of File with Dangerous Type in octoprint/octoprint CVSS 3.1MEDIUM 5.4
- TI-2025-35988 OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload CVSS 4.0HIGH 7.5
- TI-2024-18796 OctoPrint XSS via the "Snapshot Test" feature in Classic Webcam plugin settings CVSS 3.1MEDIUM 4.8
- TI-2022-02678 Insufficient Session Expiration in octoprint/octoprint CVSS 3.1MEDIUM 4.4
Sources
- CVE-2026-23892 · CVE Program
- CVE-2026-23892 · NVD
- FIRST EPSS
- GHSA-xg4x-w2j3-57h6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences