CVE-2025-32788: 
Python vulnerability analysis and mitigation

Overview

OctoPrint, a web interface for controlling consumer 3D printers, was found to contain a vulnerability (CVE-2025-32788) in versions up to and including 1.10.3. The vulnerability, discovered and disclosed on April 22, 2025, allows attackers to bypass the login redirect and directly access the rendered HTML of certain frontend pages (GitHub Advisory, NVD).

Technical details

The vulnerability exists in authentication-related functions defined in octoprint/server/util/init.py, specifically requirelogin, requireloginwith, and requirefreshloginwith. By adding the HTTP header X-Preemptive-Recording: yes to HTTP requests, attackers can bypass the login redirect mechanism. The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (Medium) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, indicating adjacent network access is required (GitHub Advisory).

Impact

While the immediate impact on data exposure is minimal since API requests still enforce proper authentication, the vulnerability does expose the IP addresses of configured reverse proxies through the authenticated variant of the reverse proxy test page. The main concern lies in potential future codebase modifications that might incorrectly rely on the vulnerable internal functions for authentication checks, which could lead to more serious security vulnerabilities (GitHub Advisory).

Exploitability

The vulnerability requires adjacent network access and can be exploited by adding a specific HTTP header to requests. No user interaction is required for exploitation, and the attack complexity is considered low according to the CVSS score (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in OctoPrint version 1.11.0. Users are advised to upgrade to this version or later to address the security issue (GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-hhqh-8jpj-27rfCRITICAL9.8
  • Python logoPython
  • lmcache
NoYesNov 23, 2026
CVE-2026-130164HIGH7.8
  • Python logoPython
  • hermes-agent
NoYesNov 23, 2026
GHSA-v8x2-8vhg-5vc3MEDIUM5.8
  • Python logoPython
  • nautobot
NoYesNov 23, 2026
GHSA-gfqr-fp2c-h495MEDIUM5.4
  • Python logoPython
  • nautobot
NoYesNov 23, 2026
GHSA-jg4p-wprm-8hphMEDIUM5.3
  • Python logoPython
  • lmcache
NoYesNov 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management