nday
CVE-2025-58180 GHSA-49mj-x8jp-qvfc

OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload

OctoPrint / OctoPrint

揭露 148 天後出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 1 個收錄:exploitdb。目前未列入 CISA KEV。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M 與 NVD, republishing [email protected]
adjacent network
AV:A in CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
Exploit-DB
Exploit-DB entries 52476
目前階段
POC
揭露時間
揭露 → 公開 PoC
T+148d POC 僅有日期
CVSS
7.5 HIGH v4.0

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2025-09-09T19:34Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2026-02-04 僅日期
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.11.2 contain a vulnerability that allows an authenticated attacker to upload a file under a specially crafted filename that will allow arbitrary command execution if said filename becomes included in a command defined in a system event handler and said event gets triggered. If no event handlers executing system commands with uploaded filenames as parameters have been configured, this vulnerability does not have an impact. The vulnerability is patched in version 1.11.3. As a workaround, OctoPrint administrators who have event handlers configured that include any kind of filename based placeholders should disable those by setting their enabled property to False or unchecking the "Enabled" checkbox in the GUI based Event Manager. Alternatively, OctoPrint administrators should set feature.enforceReallyUniversalFilenames to true in config.yaml and restart OctoPrint, then vet the existing uploads and make sure to delete any suspicious looking files. As always, OctoPrint administrators are advised to not expose OctoPrint on hostile networks like the public internet, and to vet who has access to their instance.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:A
Adjacent: only from a nearby network, such as the same LAN segment or Bluetooth range
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

事件紀錄

+DIS揭露

CVE 紀錄由 GitHub_M 發布。CVSS 7.5,屬高風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 58761,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-58180",
  "occurred_at": "2025-09-09T19:34:14.765Z",
  "observed_at": "2026-11-12T16:27:38.849571Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-09-10T13:59:03.369589Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-09-09T19:34:14.765Z",
    "assigner_short_name": "GitHub_M"
  }
}
2026-02-04僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「OctoPrint 1.11.2 - File Upload」(EDB-52476)。

來源 exploitdb 52476 · nday 於 批次匯入 · 原始
{
  "id": 27990,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52476",
  "occurred_at": "2026-02-04T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52476",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52476",
    "file": "exploits/multiple/webapps/52476.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "OctoPrint 1.11.2 - File Upload",
    "author": "prabhat",
    "edb_id": 52476,
    "cve_ids": [
      "CVE-2025-58180"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2026-02-04",
    "date_updated": "2026-02-04",
    "date_published": "2026-02-04"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.