Skip to content
CriticalVulnerability

CVE-2024-5182: mudler/localai path traversal via model parameter in model deletion

Identifier
CVE-2024-5182
Published
Record updated
View JSON
Affected
  • github.com/go-skynet/LocalAI < 2.16.0
Fixed in
2.16.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
25.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

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.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.