CVE-2025-48067 OctoPrint vulnerable to possible file extraction via upload endpoints

Medium 5.4 Published Updated

An attacker with file upload permissions can exfiltrate arbitrary files from the host by moving them to the upload directory.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48067?

CVE-2025-48067 is a medium-severity path traversal vulnerability in OctoPrint, published on 10 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.11.1 contain a vulnerability that allows an attacker with the FILE_UPLOAD permission to exfiltrate files from the host that OctoPrint has read access to, by moving them into the upload folder where they then can be downloaded from. This vulnerability is fixed in 1.11.2.

Weakness: CWE-73

Which versions are affected by CVE-2025-48067?

3 open source packages ship an affected version, including octoprint and OctoPrint. It affects 1 product.

PackageAffectedFixed in
octoprint PyPIAll versions1.11.2
octoprint PyPIAll versions1.11.2
OctoPrint PyPIAll versions1.11.2

Products include Octoprint Octoprint.

How do I fix CVE-2025-48067?

Upgrade octoprint to 1.11.2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-48067 being exploited?

There is no known exploitation of CVE-2025-48067 in the wild and no public exploit code.

Sources

Also known as GHSA-m9jh-jf9h-x3h2, PYSEC-2026-1715.

Is CVE-2025-48067 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free