Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Web

CVE-2026-123364 — OctoPrint

Low · CVSS 2.4EPSS 0.4% First seen November 09, 2026
WebBrowsersVulnerabilities

Research article

OctoPrint Serial Connector stored cross-site scripting via saved connection parameters (CVE-2026-123364)

CVECVE-2026-123364
Vendor and productOctoPrint
PublishedNovember 12, 2026 08:40 UTC
Research cut-offNovember 12, 2026 07:21 UTC
Sources reviewed4: NVD record (last modified 2026-11-09); CISA KEV catalog; GitHub advisory (2026-11-10); FIRST EPSS (2026-11-10)

Executive summary

CVE-2026-123364 is a stored cross-site scripting (XSS) flaw, classified as CWE-79, in the Serial Connector plugin bundled with OctoPrint, a web interface for 3D printers [1, 3]. An authenticated user can submit crafted default port or baud rate values with a connect request, and OctoPrint saves them and later renders them as HTML for other users who view the saved connection settings [1]. The NVD record gives CVSS 4.0 base vector 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, scored 2.4 LOW, with the NVD entry attributed to a secondary scorer and GitHub's advisory giving the same base score and vector [1, 3]. Affected versions are 2.0.0rc1 up to but not including 2.0.0rc7, and the fix is in 2.0.0rc7 [1, 3]. The reviewed sources describe the impact as script running in the victim's browser with actions within the victim's OctoPrint access [1]; no exploitation in the wild is reported, the CVE is not in the CISA KEV catalog as of 2026-11-12, and the FIRST EPSS estimate is 0.0025 [2, 4]. The most important immediate action is to upgrade OctoPrint to 2.0.0rc7 or later and to review saved connection entries for unexpected markup, because a stored payload can persist after the upgrade [1, 3].

Key points

  • CVE-2026-123364 is a stored XSS flaw (CWE-79) in OctoPrint's bundled Serial Connector plugin, affecting 2.0.0rc1 up to but not including 2.0.0rc7 [1, 3].
  • NVD and GitHub both score it 2.4 LOW under CVSS 4.0 with base vector 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 [1, 3].
  • Exploitation requires an authenticated account and a second user viewing the saved connection parameters [1, 3].
  • No in-the-wild exploitation is reported; the CVE is not in CISA KEV as of 2026-11-12 and the EPSS estimate is 0.0025 [2, 4].
  • The vendor fix is 2.0.0rc7 [1, 3]; stored values may persist after upgrading and need review [1].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-123364[1]
VendorOctoPrint project[1, 3]
Product and componentOctoPrint, with the bundled Serial Connector plugin[1]
Affected platformNot established by the reviewed sources beyond the OctoPrint web interface[1]
Published2026-11-09T17:17:27[1]
Last modified2026-11-09T17:17:27[1]
Record statusDeferred (as shown by NVD). The sources do not explain what this status implies for the record's future revision.[1]
CWE classificationCWE-79, Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[1, 3]
CVSS 4.0 base score (NVD)2.4, LOW[1]
CVSS 4.0 vector (NVD)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[1]
CVSS 4.0 scorer (NVD)security-advisories@github.com, recorded as Secondary[1]
CVSS 4.0 base score (GitHub advisory)2.4, vector 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, scored by GitHub[3]
Related advisoryGHSA-p623-mxf7-qxjm[1, 3]
Related fix commit059495787a1086868a28ba9eca8d089729242646 (listed in the record without a description in the reviewed sources)[1]
Related release2.0.0rc7[1, 3]
CISA KEV statusNot listed as of 2026-11-12. This is not evidence that the CVE was never exploited.[2]
EPSS0.0025 (0.25%), percentile 0.1606, dated 2026-11-10[4]

The CVSS base vector is identical in the NVD and GitHub entries. The NVD string also lists threat and environmental metrics, all set to X (not defined), which the GitHub entry omits [1, 3]. The two sources agree on the affected range in substance: the record says 2.0.0rc1 up to but not including 2.0.0rc7, and the advisory says 2.0.0rc1 through 2.0.0rc6, with 2.0.0rc7 as the fix [1, 3].

Technical background

OctoPrint is a web application that lets people control consumer 3D printers from a browser, typically from a computer on the same local network as the printer [1]. A printer is usually attached to the host running OctoPrint over a serial link, and the user chooses a serial port identifier and a baud rate (the signalling speed of that link) when opening a connection. The Serial Connector plugin is the component that handles this connection and is bundled with OctoPrint in the affected versions [1].

The connection settings can be saved as preferred parameters, so that a later session or another user can see the values that were used [1]. This creates a trust boundary that matters for this flaw: input entered by one authenticated user is stored by the server and later displayed to a different user. If the display code treats the stored values as plain text, the browser shows them harmlessly. If the display code inserts them into the page as markup, the browser may interpret any embedded script.

Terms used in this article:

  • Cross-site scripting (XSS) is a weakness in which an application includes attacker-controlled data in a web page in a way that the victim's browser executes as script [1, 3].
  • Stored XSS means the malicious data is saved by the application and served to later viewers, rather than only reflected in a single response.
  • CWE (Common Weakness Enumeration) is a catalogue of software weakness types; CWE-79 is the XSS category [1, 3].
  • CVSS (Common Vulnerability Scoring System) version 4.0 is the scoring standard used here. The base score reflects intrinsic characteristics; it does not describe any particular organization's exposure.
  • EPSS (Exploit Prediction Scoring System) is a statistical estimate of the probability of exploitation activity in the next 30 days [4].
  • CISA KEV (Known Exploited Vulnerabilities) is a catalogue of vulnerabilities that the agency records as exploited [2].

The reviewed sources do not describe the user interface page where saved connection parameters are shown, the storage location of the saved values, or whether the plugin is enabled by default. Those details are not established by the reviewed sources.

Vulnerability description

The flaw violates the integrity of the web page that OctoPrint generates for a user, and through script execution it can affect the confidentiality and integrity of that user's session in OctoPrint [1]. The component affected is the Serial Connector plugin's handling of the default port and baud rate values in a connect request, and the way OctoPrint later displays those saved values [1].

According to the record, an attacker who holds a valid OctoPrint account can submit crafted values for the port or baud rate, which are stored in the preferred connection parameters [1]. When another user views those saved parameters, the stored values are rendered as HTML, which allows script to run in that second user's browser. The record states that the script can take actions within that user's OctoPrint access [1].

Conditions that must exist for the flaw to matter, based on the record and the vector: the attacker must have an account that can send connect requests (PR:L) [1]; a second user must view the saved connection parameters (UI:P) [1]; and the affected version range must apply to the installation [1, 3].

What the reviewed sources do not establish: the record does not say that the attacker can read credentials, session tokens or stored secrets, although script execution in a victim's session could in principle expose data the victim can see. The record also does not say whether the attack can be carried out without an account, whether it can reach a victim who has not logged in, or whether it can affect other printers or the host operating system beyond what the victim's OctoPrint access permits [1, 3]. These limits are not established by the reviewed sources and should not be assumed in either direction.

Root cause analysis

Confirmed: the vulnerability is classified as CWE-79, which means that attacker-influenced data reaches a web page without adequate neutralization for the context in which it is rendered [1, 3]. The record ties the flaw to the saved default port and baud rate values and to their display as HTML [1].

Analyst assessment: the most likely underlying error is that the saved connection values are rendered in a context that interprets markup, without output encoding appropriate to HTML, and that the port and baud rate values are not restricted to the expected format (for example, a known list of serial device names and numeric baud rates) before being stored. This would be consistent with CWE-79, but the reviewed sources do not show the code, and this inference is not confirmed.

The record references a fix commit, but the reviewed sources do not include its content or describe the code change [1]. The specific control that failed (encoding at output, validation at input, or both) is therefore not established by the reviewed sources. Existing controls may fail in this pattern when values are validated at one point of entry but later displayed through a different code path that assumes they are safe, which is a common reason that stored XSS survives in applications that filter only at input.

Technical mechanics

The following flow is Illustrative. It is an analyst reconstruction of the behaviour the record describes, not a verified code trace [1].

  1. A user with an OctoPrint account sends a connect request to the Serial Connector plugin and includes values for the default port or baud rate [1].
  2. The plugin accepts the values as part of the connection parameters. Whether the values are checked for format at this step is not established by the reviewed sources.
  3. OctoPrint stores the values in the user's preferred connection parameters so they can be reused later [1].
  4. A second user opens the view that shows saved connection parameters [1].
  5. OctoPrint renders the stored port or baud rate values into the page as HTML rather than as escaped text, which is the failure described as CWE-79 [1, 3].
  6. The second user's browser parses the returned page and runs any script embedded in the stored values, within the origin of OctoPrint [1].
  7. The script acts with the second user's OctoPrint permissions, which the record describes as actions within that user's access [1].

The security controls that should prevent this are: validation of port and baud rate values against an allowed format at the point of entry; HTML output encoding for every stored value at the point of display; and a Content Security Policy that restricts inline script for the OctoPrint interface. Whether the affected versions had any of these controls is not established by the reviewed sources; the record shows that the stored values were rendered as HTML, which indicates that output encoding was missing for this path [1].

Attacker account (authenticated)
        |  connect request with crafted port/baudrate
        v
Serial Connector plugin  -->  saved preferred connection parameters
                                        |
                                        |  victim opens saved parameters
                                        v
                              OctoPrint page renders stored value as HTML
                                        |
                                        v
                              Script runs in victim's browser,
                              acting with victim's OctoPrint access

Attack surface and exploitation prerequisites

DimensionStatusSource
Network accessAdjacent network per AV:A in the CVSS vector. The reviewed sources do not explain why the scorers assigned adjacency for a web interface, so this should not be inferred as a limit from the vector alone.[1, 3]
Local or physical accessNot established by the reviewed sources[1]
AuthenticationRequired. PR:L means low privileges are needed.[1, 3]
Privilege levelA standard OctoPrint account that can issue connect requests. Whether a specific role is needed is not established.[1]
User interactionRequired for the victim, who must view the saved connection parameters. The vector records this as passive interaction (UI:P).[1, 3]
Required configurationThe Serial Connector plugin, which is bundled with the affected versions. Whether it must be enabled to exercise the flaw is not established.[1]
Attacker position and interfacesThe connect request path and the saved connection parameter view. Exact endpoint names are not established by the reviewed sources.[1]
Dependencies and limitationsStored payloads persist until removed. Whether the rendering path exists in every browser-facing configuration is not established.[1]

Do not treat the CVSS vector as proof that the attack is practical in a given deployment. The vector is a scoring assessment, and the reviewed sources do not include a proof of concept or a reproduction [1, 3].

Exploitation scenarios and attack lifecycle

Illustrative scenario 1: a user with a standard OctoPrint account saves a crafted serial port value. A printer administrator later opens the saved connection parameters. The script runs in the administrator's session and performs actions the administrator is permitted to perform. The post-exploitation outcome depends on the administrator's role and on what OctoPrint exposes to that role, which is not established by the reviewed sources.

Illustrative scenario 2: a shared workshop installation where several users share one OctoPrint instance. A user with an account enters a crafted baud rate value that is later viewed by a colleague. The colleague's session is affected, but the reviewed sources do not establish whether the colleague's browser or operating system credentials are exposed.

Defensive opportunities for each scenario: restrict who holds accounts; review saved connection parameters for markup before and after upgrading; log and review connect requests where the logs allow it; and limit which accounts can view connection settings. Whether OctoPrint records connect requests in its logs is not established by the reviewed sources.

No source in the pack documents a real-world attack chain using this flaw. Both scenarios above are therefore Illustrative.

Impact analysis

Security propertyTechnically demonstrated (per the record)Plausible downstream consequence (analyst assessment)Source
ConfidentialityVector rates low impact to the vulnerable system (VC:L) and low subsequent-system impact (SC:L). Not established whether session data is exposed.Data the victim can view inside OctoPrint could be read by the script.[1, 3]
IntegrityLow impact to the vulnerable system (VI:L) and low subsequent-system impact (SI:L).Actions the victim can perform could be taken by the script, including changes to saved settings.[1, 3]
AvailabilityLow impact to the vulnerable system (VA:L). No subsequent availability impact (SA:N).Disruption to the victim's OctoPrint session is possible; effects on printing jobs are not established.[1, 3]
Authentication and authorizationScript acts within the victim's OctoPrint access.If the victim holds administrative rights, the script could act with them.[1]
Privilege boundaryThe record does not state that the boundary between users is crossed beyond the victim's own access.Not established by the reviewed sources[1]
Data and privacyNot established by the reviewed sourcesNot established by the reviewed sources[1]
Business operationsNot established by the reviewed sourcesShared printers used in production could be affected if an administrator's session is used.Analyst assessment
Regulatory or contractual obligationsNot established by the reviewed sourcesNot established by the reviewed sources

Affected products and versions

VendorProduct or componentAffected versionsPlatformFixed versionSource and qualification
OctoPrintOctoPrint with bundled Serial Connector plugin2.0.0rc1 or later, and before 2.0.0rc7Not established2.0.0rc7Vendor range as published in the CVE record [1]
OctoPrintOctoPrint with bundled Serial Connector plugin2.0.0rc1 through 2.0.0rc6Not established2.0.0rc7GitHub advisory range, equivalent in effect to the record [3]

Versions before 2.0.0rc1 are not stated as affected in the reviewed sources, and the reviewed sources do not state that they are unaffected. Whether earlier 1.x or 2.0 pre-releases are affected is not established. The reviewed sources do not list stable (non-release-candidate) versions of OctoPrint in the affected or fixed ranges, so whether the flaw exists in a stable release line is not established. Configuration-specific exposure and exclusions are not established by the reviewed sources.

Exploitation and threat intelligence status

  • Confirmed exploitation in the wild: Not established by the reviewed sources.
  • CISA KEV: not listed as of 2026-11-12 [2]. The catalogue read was of the complete catalogue at that time. This absence is not evidence that the flaw was not exploited.
  • Public proof of concept: no proof of concept is referenced in the reviewed sources [1, 3].
  • EPSS: 0.0025 (0.25%) with percentile 0.1606, dated 2026-11-10 [4]. This is a statistical estimate of activity in the next 30 days, not evidence of exploitation [4].
  • Threat actors, campaigns and targeted sectors: Not established by the reviewed sources.
  • Evidence reliability: the KEV check and EPSS value are current as of the dates given. The NVD and GitHub records were published on 2026-11-09 and 2026-11-10 respectively, so the public record is recent and its completeness cannot be judged [1, 3].

The absence of public exploitation evidence does not establish that exploitation has not occurred. Theoretical exploitability, which the vector describes, is distinct from observed exploitation.

Indicators of compromise

No indicators of compromise (file hashes, file names, domains, IP addresses, URLs, process names, command lines, log events or network patterns) are given in the reviewed sources. The sources do not provide any indicator, so none is listed here.

An analyst-assessed review point, not an indicator from a source: saved connection parameters that contain markup-like content in the port or baud rate fields would be the most direct trace of the described mechanism [1]. The reviewed sources do not state where these values are stored or how they appear in the interface, so the review method is not established. Indicators go stale and must be validated before any blocking or alerting decision is made.

Detection and exposure assessment

  1. Asset inventory: identify every host running OctoPrint and record the installed version. Asset ownership and locations are organization-specific and are not established by the reviewed sources.
  2. Version check: if OctoPrint was installed with the Python package manager, run the read-only command pip show OctoPrint in the environment used to run the service. Expected output includes a Version line. A version between 2.0.0rc1 and 2.0.0rc6 falls in the affected range [1, 3]. The version shown by the package manager is a standard product check, and the pack does not name this command, so verify it against the installation method used. Installed versions cannot confirm whether the plugin code path is active.
  3. Configuration check: confirm whether the Serial Connector plugin is enabled on each affected host. The reviewed sources do not give the setting name or location, so the check must use the OctoPrint interface or the vendor documentation for the installed version.
  4. Account review: list the accounts that can send connect requests and the accounts that can view saved connection parameters. The method for listing accounts depends on the deployment and is not established by the reviewed sources.
  5. Content review: as a read-only action, an administrator should review saved connection parameters for unexpected markup in the port and baud rate fields. Do not paste test payloads into production systems.
  6. Authenticated vulnerability scanning: whether a scanner has a plugin for this CVE is not established by the reviewed sources.
  7. Logs and telemetry: which OctoPrint or web server logs record connect requests and parameter changes is not established by the reviewed sources.

A version check does not prove that the flaw is exploitable. An absence of unusual saved values does not prove that the system is safe, because the values may have been removed or never stored.

Immediate mitigation

  1. Restrict OctoPrint accounts to trusted users, and remove or disable accounts that are no longer needed. This reduces who can submit crafted values. It protects against an attacker who has no account, but does not protect against an existing trusted user who is malicious or whose account is compromised. Verify by reviewing the account list in the OctoPrint interface. Side effects: users lose access until their accounts are restored. Source status: analyst recommendation following from the authentication requirement [1, 3].
  2. Limit the users who view saved connection parameters, especially administrators, until the upgrade is complete. This reduces the number of sessions that a stored value could reach. Limitations: the reviewed sources do not state which views display the saved values, so the restriction must be checked against the actual interface. Source status: analyst recommendation.
  3. Review saved connection parameters now and remove entries with markup-like content in the port or baud rate fields. Record the entries removed and the users who created them before removal, to preserve evidence. Limitations: the storage location is not established. Source status: analyst recommendation.
  4. Restrict access to OctoPrint to the local network or a VPN, if this is consistent with operations. This reduces the attacker population but does not address the stored flaw. Limitations: remote operators may lose access. Source status: analyst recommendation that does not come from a source.
  5. Where OctoPrint is behind a reverse proxy, consider adding a Content Security Policy header that blocks inline script for the OctoPrint host. This limits what injected script can do, but whether OctoPrint's own pages can operate under such a policy is not established by the reviewed sources, so test before deploying. Verify by checking the response headers of the OctoPrint pages. Source status: defence-in-depth measure, not a vendor recommendation.

Permanent remediation

Vendor-confirmed fix: upgrade OctoPrint to 2.0.0rc7, which the record and the advisory identify as the fixed version [1, 3]. The fix commit referenced in the record is 059495787a1086868a28ba9eca8d089729242646 [1]. The reviewed sources do not describe the changes in the commit or in the release notes.

Upgrade considerations:

  • Back up the OctoPrint configuration and data directory before the upgrade. The location of the data directory is not established by the reviewed sources, so use the location in the installed configuration.
  • Plan a maintenance window, because a service restart is normally needed after the update. Whether a restart is required for this specific fix is not established by the reviewed sources.
  • Prerelease status: 2.0.0rc7 is a release candidate. Check whether a stable release that includes the fix exists before choosing the target version; the reviewed sources do not state this.
  • Rollback: keep the previous package version and the backup until the upgraded system passes the validation checks below.

Recommended hardening beyond the vendor fix (analyst recommendation): after upgrading, review saved connection parameters again. A stored payload saved before the upgrade may still be present after the upgrade. Whether the fixed version removes or neutralizes existing stored values is not established by the reviewed sources.

Workarounds and compensating controls

The reviewed sources do not describe a vendor workaround. The controls in the Immediate mitigation section reduce exposure but do not remove the flaw. Restricting accounts depends on the ability of the administrator to identify all users with connect permission, which is not established by the reviewed sources. Content review finds only the values that are present at the time of review and does not stop a new value from being saved. Content Security Policy headers depend on the page structure of OctoPrint and may break functions, so they are not equivalent to a code fix. Residual risk remains until the upgrade to 2.0.0rc7 is complete and verified.

Validation and verification

  1. Confirm the installed version on every host using the same method as the detection step. The expected result is 2.0.0rc7 or later. Record the host name, version, date and owner.
  2. Confirm the Serial Connector plugin's state and the update history of the installation through the OctoPrint interface or deployment records.
  3. Confirm that the saved connection parameters were reviewed after the upgrade, and that every entry with unexpected markup was removed or recorded as an exception with a reason.
  4. Confirm that the account list matches the current list of authorized users.
  5. Review service health and OctoPrint logs after the restart for errors in the connection view or the connect path. The log locations are not established by the reviewed sources.
  6. Run an authenticated scan with a scanner that covers this CVE if one is available. The reviewed sources do not state whether scanner coverage exists, so do not rely on a scan result alone.
  7. Record the evidence, owner, date and any exceptions. Do not state that a system is secure based on a single check. Repeat the version check during the next patch cycle.

Any test of the rendering path should be performed only in an authorized non-production instance, using inert test text with no active script content. Do not use live printers or production user accounts for testing.

Incident response

If a stored value with script-like content is found, or if a user reports unexpected actions in OctoPrint:

  1. Triage and scope: identify the affected OctoPrint hosts, the saved entries, the users who created them and the users who viewed them. The method for determining view history is not established by the reviewed sources.
  2. Containment: restrict the suspected account, and limit the users who can view the saved entries, while preserving the service where possible.
  3. Evidence preservation: export and preserve the saved entries, the account records, the web server and OctoPrint logs, and the installed version before any change. Do not delete logs or overwrite the data directory without a preserved copy.
  4. Investigation: review the actions performed in the sessions of users who viewed the entries, as far as the logs allow. Whether OctoPrint records these actions is not established by the reviewed sources.
  5. Credential rotation: rotate the passwords or session credentials of affected users if the evidence shows that script ran in their sessions. This decision depends on the evidence and the organization's incident response plan.
  6. Eradication and patching: remove the malicious entries after preservation, and upgrade to 2.0.0rc7 or later.
  7. Recovery and monitoring: restore normal access, then recheck the saved entries and logs for a defined period.
  8. Notification: follow the organization's reporting obligations. The reviewed sources do not establish any legal or contractual obligation.
  9. Lessons learned: record how the account was granted, how the entry was made, and what controls would have stopped it.

Security hardening and prevention

These measures are relevant to the flaw described; those marked as defence in depth are broader practice rather than requirements from the sources.

  • Input validation: validate serial port and baud rate values against an allowed format at the point of entry, rejecting values that do not match. This is the primary input-side control. Source: analyst recommendation.
  • Output encoding: render every stored user-supplied value as escaped text in HTML contexts, and avoid inserting values into the page as markup. Source: analyst recommendation that follows from CWE-79 [1, 3].
  • Regression testing: add a test that stores and displays a benign marker through each connection view, and fails if the value is rendered as markup. Source: analyst recommendation.
  • Least privilege: grant the connect permission and the view permission only to users who need them. Source: defence in depth.
  • Content Security Policy: use a policy that restricts inline script for the OctoPrint interface, after confirming compatibility. Source: defence in depth.
  • Patch management: track OctoPrint release candidates and stable releases, and apply security fixes within the organization's patch window. Source: defence in depth.
  • Logging and alerting: log connect requests and changes to saved connection parameters, with the user and time, and alert on changes that contain markup characters. Source: defence in depth.
  • Secure code review: review every path that displays stored user input, not only the input path, when fixing stored XSS. Source: defence in depth.

Risk assessment

Technical severity: the NVD and GitHub entries both score the flaw 2.4 LOW under CVSS 4.0, with low impact on confidentiality, integrity and availability for the vulnerable system and low subsequent-system impact on confidentiality and integrity [1, 3]. The score reflects the vector and does not describe any specific organization's risk.

Exposure and asset criticality: the risk depends on whether OctoPrint is reachable by more than one user, whether administrators view the saved connection pages, and whether the printers are used in production. These are organization-specific factors and are not established by the reviewed sources.

Exploit prerequisites and attacker opportunity: the attacker must hold an account with connect permission, and a second user must view the saved values [1, 3]. Where accounts are restricted to trusted staff, the opportunity is limited to insiders or compromised accounts.

Evidence of exploitation: none reported. The CVE is not in the CISA KEV catalogue as of 2026-11-12 [2], and the EPSS estimate is 0.0025 [4]. No proof of concept is referenced in the reviewed sources [1, 3].

Potential business impact: an administrator's session could be used to change printer settings or other OctoPrint data, which could disrupt printing; the extent is analyst assessment, and the reviewed sources do not establish it.

Existing controls and residual risk: the account requirement and user interaction requirement reduce the likelihood. The residual risk after the upgrade depends on whether stored values were cleaned up.

Recommended remediation priority (analyst assessment): schedule the upgrade to 2.0.0rc7 promptly for any OctoPrint instance shared by multiple users or used by administrators, and treat instances with a single trusted user as a lower priority, while still completing the upgrade in the normal cycle. Immediate mitigation steps for shared instances should be applied first, because they reduce exposure before the upgrade. No numerical organization-specific risk rating is given here, because the reviewed sources do not provide the asset and exposure data needed to produce one.

Conclusion

CVE-2026-123364 is a stored XSS flaw (CWE-79) in the Serial Connector plugin bundled with OctoPrint, affecting 2.0.0rc1 up to but not including 2.0.0rc7 [1, 3]. An authenticated user can store crafted serial port or baud rate values that execute script in the browser of another user who views them [1]. The NVD and GitHub scores are both 2.4 LOW under CVSS 4.0 [1, 3]. No in-the-wild exploitation is reported, the CVE is not in the KEV catalogue as of 2026-11-12, and the EPSS estimate is low [2, 4].

The people who should act are OctoPrint administrators and anyone who manages printers or their accounts. The most urgent immediate step is to restrict accounts and the users who view saved connection parameters, then review and clean stored entries. The permanent fix is to upgrade to 2.0.0rc7 or later [1, 3]. The evidence needed to close the issue is: the installed version on every host confirmed at 2.0.0rc7 or later, saved entries reviewed with exceptions recorded, the account list confirmed, and logs reviewed after the upgrade.

Remediation checklist

  1. Inventory every OctoPrint host and record its installed version; the affected range is 2.0.0rc1 up to but not including 2.0.0rc7 [1, 3].
  2. Upgrade every affected host to 2.0.0rc7 or a later release that includes the fix, after backing up the configuration and data directory [1, 3].
  3. Restrict OctoPrint accounts to trusted users and remove unused accounts; verify the account list in the OctoPrint interface [1, 3].
  4. Limit which users can view saved connection parameters, especially administrators, until the upgrade is complete [1].
  5. Review saved connection parameters for entries containing markup-like content in the port or baud rate fields, preserve evidence before removing any entry, and record exceptions [1].
  6. After the upgrade, repeat the saved-parameter review because stored values may persist [1].
  7. Confirm the installed version on each host after the upgrade using the installation method's read-only version check; expected result is 2.0.0rc7 or later [1, 3].
  8. Review the fix commit 059495787a1086868a28ba9eca8d089729242646 with the security team to confirm the change addresses both input validation and output encoding [1].
  9. Review OctoPrint logs after restart for errors in the connection view and the connect path; log locations must be confirmed for the deployment [1].
  10. Where a reverse proxy exists, test and then deploy a Content Security Policy that restricts inline script for the OctoPrint host, as a defence-in-depth measure [1].

Evidence gaps

  • Root cause in the code is not disclosed by the reviewed sources; confirm by reviewing the fix commit 059495787a1086868a28ba9eca8d089729242646 and the release notes for 2.0.0rc7 [1].
  • Affected versions before 2.0.0rc1 and stable release lines are not stated; confirm with the vendor's advisory or release history [1, 3].
  • The affected platform and whether the Serial Connector plugin must be enabled to be exposed are not established; confirm from the OctoPrint documentation and the plugin configuration [1].
  • Whether the fixed version removes or neutralizes stored malicious values is not established; test in an authorized non-production instance with inert content [1].
  • Storage location of saved connection parameters and the interface pages that display them are not established; confirm from the vendor documentation and the installed code [1].
  • No indicators of compromise are provided; the vendor or a threat intelligence source would need to publish observable traces [1, 3].
  • Whether the attack can be carried out without a valid account, and why the vector assigns adjacent network access, are not explained; the vendor advisory would need to address this [1, 3].
  • Log events that record connect requests or parameter changes are not established; confirm from the OctoPrint logging configuration [1].
  • Whether a stable release containing the fix exists beyond the release candidate is not established; check the vendor's release page [1, 3].
  • Whether any exploitation has occurred is not established; the KEV absence and low EPSS value do not settle this, and organizational log review would be needed [2, 4].

References

  1. CVE-2026-123364 record. NIST National Vulnerability Database (NVD), 2026-11-09. https://nvd.nist.gov/vuln/detail/CVE-2026-123364. Accessed 2026-11-12. CVE identity, record status and dates, official description summarized in the article, CVSS 4.0 NVD score and vector, CWE-79 classification, affected range 2.0.0rc1 to before 2.0.0rc7, fixed version 2.0.0rc7, fix commit reference, related advisory reference, and the stored-value and victim-view mech
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12. CISA KEV status: CVE-2026-123364 not listed as of 2026-11-12, with the caveat that absence is not evidence of no exploitation.
  3. GHSA-p623-mxf7-qxjm. GitHub Security Advisory Database, 2026-11-10. https://github.com/advisories/GHSA-p623-mxf7-qxjm. Accessed 2026-11-12. GitHub advisory GHSA-p623-mxf7-qxjm: CVSS 4.0 score 2.4 and base vector, CWE-79 mapping, affected range expressed as 2.0.0rc1 through 2.0.0rc6 and fixed version 2.0.0rc7, and the advisory identifier.
  4. EPSS score for CVE-2026-123364. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-123364. Accessed 2026-11-12. FIRST EPSS estimate of 0.0025 (0.25%) with percentile 0.1606 dated 2026-11-10, and the statement that EPSS is a statistical estimate and not evidence of exploitation.

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Low · 2.4 CVSS 4.0 base score from the CNA (github.com)

An attacker with a normal user account can exploit this from an adjacent network if a user views or visits something.

Attack from
an adjacent network (same LAN, Wi-Fi or Bluetooth)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, a normal user account
User action needed
yes, a user must view or visit something
Impact
low on confidentiality, integrity and availability
Impact on other systems
low on confidentiality and integrity, none on availability

Vector 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 · CVSS 4.0 2.4 from GitHub: 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

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
OctoPrint (PyPI)≥ 2.0.0rc1, ≤ 2.0.0rc62.0.0rc7
OctoPrint>= 2.0.0rc1, < 2.0.0rc7—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • OctoPrint

Frequently asked questions

What is CVE-2026-123364?

CVE-2026-123364 is a stored cross-site scripting (XSS) flaw, classified as CWE-79, in the Serial Connector plugin bundled with OctoPrint, a web interface for 3D printers. An authenticated user can submit crafted default port or baud rate values with a connect request, and OctoPrint saves them and later renders them as HTML for other users who view the saved connection settings. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).

How severe is CVE-2026-123364?

CVE-2026-123364 has a CVSS 4.0 base score of 2.4 (low), from the CNA (github.com). An attacker with a normal user account can exploit this from an adjacent network if a user views or visits something.

Is CVE-2026-123364 being exploited?

Not as far as is known: CVE-2026-123364 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-123364?

OctoPrint (PyPI) ≥ 2.0.0rc1, ≤ 2.0.0rc6 (fixed in 2.0.0rc7); OctoPrint >= 2.0.0rc1, < 2.0.0rc7.

How do I fix CVE-2026-123364?

Inventory every OctoPrint host and record its installed version; the affected range is 2.0.0rc1 up to but not including 2.0.0rc7. Upgrade every affected host to 2.0.0rc7 or a later release that includes the fix, after backing up the configuration and data directory. Restrict OctoPrint accounts to trusted users and remove unused accounts; verify the account list in the OctoPrint interface.

Timeline & sources

References

Related vulnerabilities & news