CVE-2024-6868
published high CVSS 3.0 · 8.1Arbitrary File Write in mudler/LocalAI
Package status and fixes
Description
mudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction. When model configurations specify additional files as archives (e.g., .tar), these archives are automatically extracted after downloading. This behavior can be exploited to perform a 'tarslip' attack, allowing files to be written to arbitrary locations on the server, bypassing checks that normally restrict files to the models directory. This vulnerability can lead to remote code execution (RCE) by overwriting backend assets used by the server.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mudler | mudler/localai | unspecified to < 2.18.1 (affected · custom) | @huntr_ai · cna |
| mudler | localai | 0 to < 2.18.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-59 CWE-59 Improper Link Resolution Before File Access
References
2Provider assertions
2@huntr_ai · cna
Arbitrary File Write in mudler/LocalAI
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 786c6e0221321bb01f93475f9a3cad877934b800cf79b0729c36ea1a9b9f2e67
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record