Loading advisory.
Loading advisory.
OctoPrint has an Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled
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, by spoofing…
Published 2024-05-14 13:49 UTC · Modified 2026-06-10 17:14 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| octoprint | PyPI | < 1.10.1 git commits in https://github.com/octoprint/octoprint: < 5afbec8d23508edc25b0f1bdef1620580136add4 versions 1.10.0, 1.10.0rc1, 1.10.0rc2, 1.10.0rc3, 1.10.0rc4, 1.3.11, 1.3.12, 1.3.12rc1, 1.3.12rc3, 1.4.0, 1.4.0rc1, 1.4.0rc2, 1.4.0rc3, 1.4.0rc4, 1.4.0rc5, 1.4.0rc6, 1.4.1, 1.4.1rc1, 1.4.1rc2, 1.4.1rc3 and 73 more | 1.10.1, 5afbec8d23508edc25b0f1bdef1620580136add4 | pip install --upgrade 'octoprint>=1.10.1'pip install --upgrade 'octoprint>=5afbec8d23508edc25b0f1bdef1620580136add4' |
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, by 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.
Enable the autologinAs configuration within the accessControl section in the OctoPrint yaml configuration file
Set your browser to add the X-Forwarded-For: 127.0.0.1 header to HTTP requests. For example, this can be done using proxy software like Burp Suite. Alternatively, there are browser extensions such as https://github.com/MisterPhilip/x-forwarded-for, but I haven't tried them.
Navigate to OctoPrint and note that it logs you in automatically.
This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.009 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.009 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.009 | v2026.06.15 |