Vulnérabilité dans OctoPrint (CVE-2026-54134)
Résumé
Vulnérabilité dans OctoPrint (CVE-2026-54134). Risque d'opérations non autorisées ou de divulgation. Exploitable via FILE_UPLOAD. Atténuation : mise à jour vers 2.0.0rc3 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
OctoPrint versions up until and including 1.11.7 as well as 2.0.0rc1 and 2.0.0rc2 contain a vulnerability that allows an attacker with the FILE_UPLOAD permission to exfiltrate files from the host that OctoPrint has read access to, by moving them into the upload folder where they then can be downloaded from. This vulnerability was already reported as GHSA-m9jh-jf9h-x3h2/CVE-2025-48067 but the fix provided in OctoPrint 1.11.2 turned out to be incomplete.
The primary risk lies in the potential exfiltration of secrets stored inside OctoPrint's config, or further system files. By removing important runtime files, this could also be used to impact the availability of the host after an attempted server restart. Given that the attacker requires a user account with file upload permissions, the actual impact of this should however hopefully be minimal in most cases.
Patches
The vulnerability has been patched in version 1.11.8 and 2.0.0rc3.
Details
OctoPrint's web application is implemented in Flask, but uploads are first intercepted by a custom upload handler built on Tornado that sits in front of it. The handler streams the upload to a temporary file on disk - so files larger than the available memory can be uploaded - and rewrites the request, adding internal form fields that tell Flask where to find that temporary file.
These fields are reserved and meant to be set only by t…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-54134 a été découverte dans OctoPrint.
Des attaquants peuvent cibler un point d'entrée spécifique comme FILE_UPLOAD à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour OctoPrint vers 2.0.0rc3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « OctoPrint CVE-2026-54134 » sur le site de l'éditeur.
CVE-2026-54134 (OctoPrint) — CWE-73
Surface d'attaque : FILE_UPLOAD
Correctif : 2.0.0rc3 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-73) affecte OctoPrint. Les attaquants atteignent le code vulnérable via FILE_UPLOAD.
Consultez l'avis de l'éditeur pour les versions affectées de OctoPrint. Surface d'attaque : FILE_UPLOAD.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 2.0.0rc3.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'OctoPrint' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
OctoPrintを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade OctoPrint to 2.0.0rc3ステージング環境で 2.0.0rc3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。