Skip to content

Security: Ajimaru/OctoPrint-BambuCam

SECURITY.md

Security Policy

Supported versions

Security fixes are provided for the latest released version. Please make sure you are running the most recent release before reporting an issue.

Security model

How BambuCam handles credentials and printer connections:

  • Access code. Stored admin-restricted in OctoPrint's settings and passed to the daemon on its command line (so it is visible in the local process list). It is never logged and never returned to the browser in plaintext.
  • Vendored daemon. Patched so the access code is never exposed via its /?info endpoint and the unauthenticated /?shutdown endpoint is disabled (see octoprint_bambucam/vendor/webcamd_bambu/UPSTREAM.md).
  • Loopback. Snapshot and live-stream paths always connect via 127.0.0.1 regardless of the bind-address setting.
  • Printer TLS. The camera, FTPS (timelapses and raw /ipcam footage) and MQTT (light control) connections use the printer's self-signed certificate, so certificate/hostname verification is intentionally disabled (the printer has no stable hostname).
  • Privileged actions. SD-card writes (move/delete), the raw-footage harvest/render/delete operations and the light toggle are permission-gated, blocked while a print is running where relevant, and a move only deletes the original after the local copy is verified byte-for-byte; downloads are size-checked against free disk space before they start.

Reporting a vulnerability

Please do not open a public GitHub issue for security vulnerabilities.

Report vulnerabilities by email to ajimaru_gdr [at] pm [dot] me. Include:

  • A description of the vulnerability and its potential impact.
  • Steps to reproduce or a proof-of-concept (if safe to share).
  • Any suggested mitigations you are aware of.

You will receive an acknowledgement of your report, followed by a status update once it has been reviewed. If the issue is confirmed, a patch and coordinated disclosure will follow as quickly as possible.

Scope

Issues in scope for this project:

  • Authentication or authorization bypasses in the plugin's API endpoints.
  • Arbitrary file read/write via plugin settings or API.
  • Unsafe shell command execution triggered by user-controlled input.
  • Information disclosure (e.g. leaking the printer access code to unauthorized users).
  • Denial of service caused by the plugin's daemon management logic.

Out of scope:

  • Vulnerabilities in OctoPrint itself — please report those to the OctoPrint project.
  • Vulnerabilities in the vendored webcamd-bambu upstream code — please also report those upstream and CC the email above.
  • Issues that require physical access to the OctoPrint host.
  • The unauthenticated MJPEG stream when the user has explicitly configured bind_address = 0.0.0.0 (this is a documented trade-off, not a bug).

There aren't any published security advisories