CVE-2024-32977
CRITICAL 9.4CVSS 3.1OctoPrint has an Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled
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.
- Published
- 14 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-290
- Also known as
- GHSA-2vjq-hg5w-5gm7PYSEC-2024-237
- Sources
- NVDJSONOSV GHSA-2vjq-hg5w-5gm7JSONOSV PYSEC-2024-237JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | octoprint | octoprintcpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:* |
< 1.10.1 | 1.10.1 |
| OSV | PyPI | octoprint | < 1.10.1 | 1.10.1 |
References
- https://github.com/OctoPrint/OctoPrint/commit/5afbec8d23508edc25b0f1bdef1620580136add4 · Patch, WEB, FIX
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-2vjq-hg5w-5gm7 · Exploit, Vendor Advisory, WEB, ADVISORY, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2024-32977 · ADVISORY
- https://github.com/OctoPrint/OctoPrint · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2024-237.yaml · WEB
- https://github.com/advisories/GHSA-2vjq-hg5w-5gm7 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 May 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2024)