Skip to content
Heist/ feed
Back to feed
Low

Unrestricted Upload of File with Dangerous Type in octoprint/octoprint

Type: advisorySources: OSV

Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-2872
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:15 UTC · Revision 1

Source evidence

Unrestricted Upload of File with Dangerous Type in octoprint/octoprint

core-osv · Original source

Published 21 Sept 2022, 09:55 UTC

Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.

osv:CVE-2022-2872
Complete source record
{
  "id": "a28bfc1de251f9e4ff5270d42856dfd04e97e8964591b972f5bb3f2624a30778",
  "url": "https://osv.dev/vulnerability/CVE-2022-2872",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unrestricted Upload of File with Dangerous Type in octoprint/octoprint",
    "summary": "Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.",
    "evidence": "osv:CVE-2022-2872",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2022-2872",
      "aliases": [
        "CVE-2022-2872",
        "GHSA-49wm-4fp6-h59c",
        "PYSEC-2022-286"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/octoprint/octoprint",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d0d226f3e0ad0a6436e4f32519bf38a82aa576ca"
                },
                {
                  "fixed": "3e3c11811e216fb371a33e28412df83f9701e5b0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3e3c11811e216fb371a33e28412df83f9701e5b0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.7.3",
            "1.7.2",
            "1.7.1",
            "1.6.1",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.5.0rc3",
            "1.5.0rc2",
            "1.5.0rc1",
            "1.4.0rc6",
            "1.4.0rc5",
            "1.4.0rc4",
            "1.4.0rc3",
            "1.4.0rc2",
            "1.4.0rc1",
            "1.2.18",
            "1.2.18rc1",
            "1.2.17rc3",
            "1.2.17rc2",
            "1.2.17rc1",
            "1.2.16",
            "1.2.16rc2",
            "1.2.16rc1",
            "1.2.15",
            "1.2.14",
            "1.2.13",
            "1.2.12",
            "1.2.11",
            "1.2.10",
            "1.2.9",
            "1.2.8",
            "1.2.7",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.2.0-rc3",
            "1.2.0-rc2",
            "1.2.0-rc1",
            "1.2.0-dev",
            "1.1.0-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2872.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.220379401Z",
      "provider": "osv",
      "references": [
        "https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2872.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2872",
        "https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-434"
        ],
        "cna_assigner": "@huntrdev",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2872.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2872",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496288,
  "published_at": "2022-09-21T09:55:08+00:00"
}