CVE-2026-123364
OctoPrint: Stored XSS via saved connection parameters
OctoPrint provides a web interface for controlling consumer 3D printers. From 2.0.0rc1 until 2.0.0rc7, an authenticated user can supply a crafted default port or baudrate through a connect request to the bundled Serial Connector plugin. OctoPrint persists these values in printerConnection.preferred.parameters.port or printerConnection.preferred.parameters.baudrate and renders them as HTML when another user views the saved connection parameters, allowing script execution in that user's browser and actions within the user's OctoPrint access. This issue is fixed in version 2.0.0rc7.
Fixes and workarounds
Fix
OctoPrint (pip): GitHub reports patched versions 2.0.0rc7. Check the advisory for the affected release branch.
Source: GitHub GHSA-p623-mxf7-qxjmFix
octoprint (PyPI): OSV reports a fixed version 2.0.0rc7. Check the advisory for supported release branches.
Source: OSV GHSA-p623-mxf7-qxjmAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| OctoPrint OctoPrint |
>= 2.0.0rc1, < 2.0.0rc7 (affected) | CNA: GitHub_M |
OctoPrintOctoPrint
pip |
>= 2.0.0rc1, <= 2.0.0rc6 (affected, GitHub advisory range) | GitHub GHSA-p623-mxf7-qxjm |
octoprintoctoprint
PyPI |
2.0.0rc1 (affected, PyPI) 2.0.0rc2 (affected, PyPI) 2.0.0rc3 (affected, PyPI) 2.0.0rc4 (affected, PyPI) 2.0.0rc5 (affected, PyPI) 2.0.0rc6 (affected, PyPI) Ecosystem version events: introduced 2.0.0rc1; fixed 2.0.0rc7 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-p623-mxf7-qxjm |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 2.4 low |
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N | CNA: GitHub_M |
| 4.0 / 2.4 low |
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjmCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/OctoPrint/OctoPrint/commit/059495787a1086868a28ba9eca8d089729242646CNA: GitHub_M · x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7CNA: GitHub_M · x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/commit/059495787a1086868a28ba9eca8d089729242646[email protected]
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7[email protected]
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjm[email protected]
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjmGitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-p623-mxf7-qxjmOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-p623-mxf7-qxjmOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.