CVE-2025-48067: OctoPrint OctoPrint Vulnerable To Possible File Vulnerability
MODERATECVE-2025-48067 is a MODERATE (CVSS 5.4) octoprint vulnerable to possible file vulnerability (CWE-73: External Control of File Name or Path) affecting OctoPrint libraries in the PyPI ecosystem. The issue involves octoprint vulnerable to possible file extraction via upload endpoints. Remediation is available by upgrading affected packages to version 1.11.2.
CVE-2025-48067 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:L).
How to Fix CVE-2025-48067
To remediate this vulnerability, upgrade all affected OctoPrint dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install OctoPrint>=1.11.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show OctoPrint
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-48067, inspect your installed packages using pip:
pip show OctoPrint
Analyze the terminal output to locate any version of OctoPrint in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.2), your application is affected.
Note: The pip show OctoPrint command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In OctoPrint, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-48067 Affected OctoPrint Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
OctoPrint
|
PyPI |
< 1.11.2
|
1.11.2
|
References
Frequently Asked Questions
What is CVE-2025-48067?
Which OctoPrint versions are affected?
What version fixes CVE-2025-48067?
Is OctoPrint affected?
What is the CVSS score of CVE-2025-48067?
What CWE is associated with CVE-2025-48067?
How can I check PyPI dependencies for CVE-2025-48067?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m9jh-jf9h-x3h2",
"modified" : "2026-06-23T17:12:18Z",
"published" : "2025-06-10T20:13:40Z",
"aliases" : [ "CVE-2025-48067" ],
"summary" : "OctoPrint vulnerable to possible file extraction via upload endpoints",
"details" : "### Impact\n\nOctoPrint 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.\n\nThe primary risk lies in the potential exfiltration of secrets stored inside OctoPrint's config, or further system files. By removing important runtime files, this could also be used to impact the availability of the host. Given that the attacker requires a user account with file upload permissions, the actual impact of this should however hopefully be minimal in most cases.\n\n### Patches\n\nThe vulnerability has been patched in version 1.11.2.\n\n### Details\n\nA specially crafted HTTP Request to an affected upload endpoint that contains some form inputs only supposed to be used internally can be used to make OctoPrint move a file that it thinks is a freshly uploaded temporary one into its upload folder.\n\nThe following endpoints in OctoPrint are affected:\n\n- `/api/files/{local|sdcard}`\n- `/api/languages`\n- `/plugin/backup/restore`\n- `/plugin/pluginmanager/upload_file`\n\nFurther upload endpoints in third party plugins might be affected too.\n\nThe fix removes any internal-only form inputs from incoming requests in the central file upload processor component.\n\n### Credits\n\nThis vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "OctoPrint"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-m9jh-jf9h-x3h2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48067"
}, {
"type" : "WEB",
"url" : "https://github.com/OctoPrint/OctoPrint/commit/9984b20773f5895a432f965b759999b16c57f7d8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OctoPrint/OctoPrint"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-73" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-10T20:13:40Z",
"nvd_published_at" : "2025-06-10T16:15:41Z"
}
}