CVE-2025-48879: OctoPrint Denial of Service Vulnerability
MODERATECVE-2025-48879 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-140: Improper Neutralization of Delimiters) affecting OctoPrint libraries in the PyPI ecosystem. The issue involves octoprint vulnerable to denial of service through malformed http request in octoprint. Remediation is available by upgrading affected packages to version 1.11.2.
CVE-2025-48879 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-48879
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-48879, 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-140: Improper Neutralization of Delimiters, where the product does not neutralize or incorrectly neutralizes delimiters. 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-48879 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-48879?
Which OctoPrint versions are affected?
What version fixes CVE-2025-48879?
Is OctoPrint affected?
What is the CVSS score of CVE-2025-48879?
What CWE is associated with CVE-2025-48879?
How can I check PyPI dependencies for CVE-2025-48879?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9wj4-8h85-pgrw",
"modified" : "2025-06-10T20:14:44Z",
"published" : "2025-06-10T20:14:43Z",
"aliases" : [ "CVE-2025-48879" ],
"summary" : "OctoPrint Vulnerable to Denial of Service through malformed HTTP request in OctoPrint",
"details" : "### Impact\n\nOctoPrint versions up until and including 1.11.1 contain a vulnerability that allows any unauthenticated attacker to send a manipulated broken `multipart/form-data` request to OctoPrint and through that make the web server component become unresponsive. This could be used to effectively run a denial of service attack on the OctoPrint server.\n\n### Patches\n\nThe vulnerability has been patched in version 1.11.2.\n\n### Workaround\n\nOctoPrint administrators are once more reminded to not make OctoPrint available on hostile networks (e.g. the internet), regardless of whether this vulnerability is patched or not.\n\n### Details\n\nThe issue can be triggered by a broken `multipart/form-data` request lacking an end boundary to any of OctoPrint's endpoints implemented through the `octoprint.server.util.tornado.UploadStorageFallbackHandler` request handler. The request handler will get stuck in an endless busy loop, looking for a part of the request that will never come. As Tornado is single-threaded, that will effectively block the whole web server.\n\nThe fix adds detection of invalid requests like that and ensures they are handled gracefully with an HTTP 400 Bad Request response.\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:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"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-9wj4-8h85-pgrw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48879"
}, {
"type" : "WEB",
"url" : "https://github.com/OctoPrint/OctoPrint/commit/c9c35c17bd820f19c6b12e6c0359fc0cfdd0c1ec"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OctoPrint/OctoPrint"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-140", "CWE-835" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-10T20:14:43Z",
"nvd_published_at" : "2025-06-10T16:15:41Z"
}
}