OctoPrint 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-32977
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:05 UTC · Revision 1
Source evidence
OctoPrint Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled
core-osv · Original sourcePublished 14 May 2024, 13:49 UTC
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.
osv:CVE-2024-32977
Complete source record
{
"id": "910a12d91dd768d374269645151c19e42ce2385bb7137f5cc8a00a6b00d36eeb",
"url": "https://osv.dev/vulnerability/CVE-2024-32977",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OctoPrint Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled",
"summary": "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.",
"evidence": "osv:CVE-2024-32977",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-32977",
"aliases": [
"CVE-2024-32977",
"GHSA-2vjq-hg5w-5gm7",
"PYSEC-2024-237"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/octoprint/octoprint",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e18547582a7dcd381b600eb32822799c8bb238f9"
},
{
"fixed": "5afbec8d23508edc25b0f1bdef1620580136add4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.10.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5afbec8d23508edc25b0f1bdef1620580136add4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.10.0",
"1.9.3",
"1.9.2",
"1.9.0",
"1.8.7",
"1.8.6",
"1.8.5",
"1.8.4",
"1.8.3",
"1.8.2",
"1.8.1",
"1.8.0",
"1.7.3",
"1.7.2",
"1.7.1",
"1.6.1",
"1.5.3",
"1.5.2",
"1.5.1",
"1.5.0",
"1.5.0rc3",
"1.5.0rc2",
"1.5.0rc1",
"1.4.0rc6",
"1.4.0rc5",
"1.4.0rc4",
"1.4.0rc3",
"1.4.0rc2",
"1.4.0rc1",
"1.2.18",
"1.2.18rc1",
"1.2.17rc3",
"1.2.17rc2",
"1.2.17rc1",
"1.2.16",
"1.2.16rc2",
"1.2.16rc1",
"1.2.15",
"1.2.14",
"1.2.13",
"1.2.12",
"1.2.11",
"1.2.10",
"1.2.9",
"1.2.8",
"1.2.7",
"1.2.6",
"1.2.5",
"1.2.4",
"1.2.3",
"1.2.2",
"1.2.1",
"1.2.0",
"1.2.0-rc3",
"1.2.0-rc2",
"1.2.0-rc1",
"1.2.0-dev",
"1.1.0-dev"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32977.json"
}
}
],
"modified": "2026-10-28T02:30:31.019838306Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32977.json",
"https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-2vjq-hg5w-5gm7",
"https://nvd.nist.gov/vuln/detail/CVE-2024-32977",
"https://github.com/OctoPrint/OctoPrint/commit/5afbec8d23508edc25b0f1bdef1620580136add4"
],
"provider_metadata": {
"cwe_ids": [
"CWE-290"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32977.json"
}
},
"related_cves": [
{
"value": "CVE-2024-32977",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498208,
"published_at": "2024-05-14T13:49:20.862+00:00"
}