Skip to content

OctoPrint

OctoPrint Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled

CVE-2024-32977Published 14 May 2024, 13:49 UTC

Real-world risk

1.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.0 contain a vulnerability that allows an unauthenticated attacker to completely bypass the authentication if the `autologinLocal` option is enabled within `config.yaml`, even if they come from networks that are not configured as `localNetworks`, spoofing their IP via the `X-Forwarded-For` header. If autologin is not enabled, this vulnerability does not have any impact. The vulnerability has been patched in version 1.10.1. Until the patch has been applied, OctoPrint administrators who have autologin enabled on their instances should disable it and/or to make the instance inaccessible from potentially hostile networks like the internet.

Am I affected?

ProductAffected versions (from the sources)Fixed in
OctoPrintNiche< 1.10.1; <= 1.10.01.10.1

What to do

Update to a fixed version: 1.10.1.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionAdjacentSame Wi-Fi, Bluetooth range or network segmentFrom the CVSS vector0.40
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.9% chance of exploitation in 30 days (percentile 61), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.180
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.18 × threat 0.851.224
  4. Rounded to one decimal between 0.1 and 101.2

How the score works

Exploitation and evidence timeline

  1. 14 May 2024 Published
  2. 3 Dec 2026 Risk 1.2 (cvss fallback)

Weakness

CWE-290

References

Get alerts for OctoPrint

Free email or text alerts when a vulnerability in OctoPrint reaches risk 8 or higher. Nothing else.