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?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| OctoPrintNiche | < 1.10.1; <= 1.10.0 | 1.10.1 |
What to do
Update to a fixed version: 1.10.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.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
- Prerequisites multiplied together0.180
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.18 × threat 0.851.224
- Rounded to one decimal between 0.1 and 101.2
Exploitation and evidence timeline
- 14 May 2024 Published
- 3 Dec 2026 Risk 1.2 (cvss fallback)
Weakness
CWE-290
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-2vjq-hg5w-5gm7vendor-advisory, x-transferred
- https://github.com/OctoPrint/OctoPrint/commit/5afbec8d23508edc25b0f1bdef1620580136add4misc, x-transferred
- CVE-2024-32977 on CVE.org