# CVE-2024-32977: OctoPrint Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-14T13:49:20.862Z
- Modified: 2026-06-17T07:30:48.457Z
- Also known as: GHSA-2vjq-hg5w-5gm7, PYSEC-2024-237
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OctoPrint OctoPrint: < 1.10.1; up to 1.10.0; before 1.10.1
- octoprint (PyPI): before 1.10.1; before 5afbec8d23508edc25b0f1bdef1620580136add4

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-2vjq-hg5w-5gm7> (exploit, advisory, evidence, vendor-advisory, web)
- <https://github.com/OctoPrint/OctoPrint/commit/5afbec8d23508edc25b0f1bdef1620580136add4> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2024-32977](https://www.cve.org/CVERecord?id=CVE-2024-32977), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-2vjq-hg5w-5gm7](https://github.com/advisories/GHSA-2vjq-hg5w-5gm7), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2024-32977](https://nvd.nist.gov/vuln/detail/CVE-2024-32977), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-237](https://osv.dev/vulnerability/PYSEC-2024-237), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-32977 · Whole record: https://cve.day/CVE-2024-32977.json · Rebuilt by cve.day 2026-11-25T22:58:40.294Z
