SB2024051471 - Authentication Bypass by Spoofing in OctoPrint



SB2024051471 - Authentication Bypass by Spoofing in OctoPrint

Published: May 14, 2024 Updated: November 9, 2026

Security Bulletin ID SB2024051471
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Adjecent network
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Authentication Bypass by Spoofing (CVE-ID: CVE-2024-32977)

CWE-ID: CWE-290 - Authentication Bypass by Spoofing

CVSSv4: 7.6 [CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows an unauthenticated adjacent-network attacker to bypass OctoPrint authentication and gain access as the configured autologin user.

The vulnerability exists due to OctoPrint trusting a spoofed X-Forwarded-For header to identify local clients when autologinLocal is enabled in config.yaml. An unauthenticated adjacent-network attacker can send requests claiming a local IP address to trigger automatic login despite being outside the configured localNetworks.


Remediation

Install update from vendor's website.