Skip to content
FlawDB
Sign in

CVE-2026-123364

LOW 2.4EPSS 24%

OctoPrint: Stored XSS via saved connection parameters

Also known as GHSA-p623-mxf7-qxjm

Mitigation

  • Upgrade OctoPrint to 2.0.0rc7 or later.

Who should check

  • Projects that depend on PyPI package OctoPrint (>= 2.0.0rc1, <= 2.0.0rc6)

Vulnerability facts

Affected
OctoPrint >= 2.0.0rc1, <= 2.0.0rc6
Fixed in
2.0.0rc7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
2.4 (v4.0, 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:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: Passive
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.39% chance of exploitation in 30 days (percentile 24, 2026-11-28)
CWE
CWE-79
Published
Modified

Description

## Impact OctoPrint versions 2.0.0rc1 up until version 2.0.0rc6 are susceptible to cross-site scripting via a specially crafted default `port` or `baudrate` setting on the bundled Serial Connector plugin, supplied via the API as new defaults during a `connect` request. ## Patches The vulnerability is patched in 2.0.0rc7. ## Workaround Check `config.yaml` for Javascript fragments in `printerConnection.preferred.parameters.port` or `printerConnection.preferred.parameters.baudrate`. If found, remove them. You can check who of your users had access to your instance since you flashed 2.0.0rc1 or above via `auth.log`. ## Credits This vulnerability was discovered and responsibly disclosed to OctoPrint by "mahn-don". ## Timeline 2026-10-14: Report received 2026-10-14: Report acknowledged 2026-10-14: Report verified 2026-10-14: Fix ready for 2.0.0rc7 2026-10-20: CVE requested

Affected and fixed versions

Package / productAffectedFixedSource
PyPI OctoPrint>= 2.0.0rc1, <= 2.0.0rc62.0.0rc7ghsa

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-123364. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123364.md
Affected: OctoPrint >= 2.0.0rc1, <= 2.0.0rc6
Fixed in: 2.0.0rc7

Steps:
1. Search this machine and project for OctoPrint (PyPI): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-123364 being exploited?

There is no confirmed exploitation: CVE-2026-123364 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-123364?

Low: CVSS 2.4 (v4.0, scored by GitHub). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-123364?

OctoPrint >= 2.0.0rc1, <= 2.0.0rc6.

Is there a fix for CVE-2026-123364?

Yes. Fixed in 2.0.0rc7. Upgrade OctoPrint to 2.0.0rc7 or later.

How do I check if I'm affected by CVE-2026-123364?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors