CVE-2025-48879: OctoPrint Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-9wj4-8h85-pgrw
CVSS 6.5
CWE-140 CWE-835
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-48879
GHSA Identifier GHSA-9wj4-8h85-pgrw
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-140: Improper Neutralization of Delimiters
Affected Product OctoPrint
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

OctoPrint fixed: 1.11.2
pip install OctoPrint>=1.11.2
Verify Direct and Transitive Dependencies

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

### Impact OctoPrint 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. ### Patches The vulnerability has been patched in version 1.11.2. ### Workaround OctoPrint 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. ### Details The 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. The fix adds detection of invalid requests like that and ensures they are handled gracefully with an HTTP 400 Bad Request response. ### Credits This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.

CVE-2025-48879 Affected OctoPrint Versions

1 component(s)
Fixed Versions:
1.11.2
Product / Package Ecosystem Affected Versions Fixed Version
OctoPrint
PyPI
< 1.11.2
1.11.2

References

Frequently Asked Questions

What is CVE-2025-48879?
CVE-2025-48879 is a security vulnerability in OctoPrint involving OctoPrint Vulnerable to Denial of Service through malformed HTTP request in OctoPrint under CWE-140: Improper Neutralization of Delimiters.
Which OctoPrint versions are affected?
Affected versions include releases prior to 1.11.2 across affected packages: OctoPrint.
What version fixes CVE-2025-48879?
Upgrading to 1.11.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is OctoPrint affected?
Yes, OctoPrint is affected in releases prior to 1.11.2. Upgrade your dependency to 1.11.2 or later.
What is the CVSS score of CVE-2025-48879?
CVE-2025-48879 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-48879?
CVE-2025-48879 is classified under CWE-140: Improper Neutralization of Delimiters (The product does not neutralize or incorrectly neutralizes delimiters.).
How can I check PyPI dependencies for CVE-2025-48879?
Run the dependency tree command: 'pip show OctoPrint'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}