{"data":{"id":"c61796da-59f8-4150-bf98-c6cdd31fca92","title":"CVE-2024-5182: A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model`…","summary":"CVE-2024-5182 is a path traversal flaw in mudler/localai version 2.14.0. An attacker can manipulate the `model` parameter during model deletion to traverse the directory structure and delete arbitrary files outside the intended directory, including sensitive data. The root cause is insufficient input validation and sanitization of the `model` parameter.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-5182","publishedAt":"2024-06-20T00:15:09.487Z","cveId":"CVE-2024-5182","cweIds":["CWE-22"],"cvssScore":"9.1","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["github.com/go-skynet/LocalAI@< 2.16.0 (fixed: 2.16.0)"],"affectedPackageNames":["github.com/go-skynet/localai"],"affectedPackageRefs":["go:github.com/go-skynet/localai"],"affectedVendors":[],"affectedVendorsRaw":["LocalAI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"mudler/localai path traversal via model parameter in model deletion","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.25538,"epssPercentile":0.98002,"epssCheckedAt":"2026-12-03T18:26:49.892Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545"],"patchCommitUrls":["https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e"],"ssvcExploitation":"poc","nvdStatus":"Modified","referencesCheckedAt":"2026-12-03T20:00:05.569Z","kevDateAdded":null,"advisoryAliases":["GHSA-cpcx-r2gq-x893"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:49:36.157Z","patchAvailable":true,"disclosureDate":"2024-06-20T00:15:09.487Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-126"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["integrity","availability"],"aiComponentTargeted":"inference","llmSpecific":false,"classifierConfidence":0.93,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["github.com/go-skynet/LocalAI@2.16.0"],"affectedPurls":["pkg:golang/github.com/go-skynet/localai"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2024-06-20","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}