{"api_version":"1","generated_at":"2026-07-23T11:50:36+00:00","cve":"CVE-2022-2872","urls":{"html":"https://cve.report/CVE-2022-2872","api":"https://cve.report/api/cve/CVE-2022-2872.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-2872","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-2872"},"summary":{"title":"CVE-2022-2872","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.","state":"PUBLIC","assigner":"security@huntr.dev","published_at":"2022-09-21 10:15:00","updated_at":"2022-09-23 17:58:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0","name":"https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0","refsource":"MISC","tags":[],"title":"????️ Enforce valid type on copy/move of uploads · OctoPrint/OctoPrint@3e3c118 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56","name":"https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56","refsource":"CONFIRM","tags":[],"title":"huntr – Security Bounties for any GitHub repository","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2872","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2872","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"2872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"octoprint","cpe5":"octoprint","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@huntr.dev","ID":"CVE-2022-2872","STATE":"PUBLIC","TITLE":"Unrestricted Upload of File with Dangerous Type in octoprint/octoprint"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"octoprint/octoprint","version":{"version_data":[{"version_affected":"<","version_value":"1.8.3"}]}}]},"vendor_name":"octoprint"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-434 Unrestricted Upload of File with Dangerous Type"}]}]},"references":{"reference_data":[{"name":"https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56","refsource":"CONFIRM","url":"https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56"},{"name":"https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0","refsource":"MISC","url":"https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0"}]},"source":{"advisory":"b966c74d-6f3f-49fe-b40a-eaf25e362c56","discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-09-21 10:15:00","lastModifiedDate":"2022-09-23 17:58:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*","versionEndExcluding":"1.8.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}