Skip to main content
← All vulnerabilities
CVE-2024-5182GO-2024-2938GHSA-CPCX-R2GQ-X893

Path Traversal in mudler/localai

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.16.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion process to delete arbitrary files. Specifically, by crafting a request with a manipulated `model` parameter, an attacker can traverse the directory structure and target files outside of the intended directory, leading to the deletion of sensitive data. This vulnerability is due to insufficient input validation and sanitization of the `model` parameter.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • mudler mudler/localai

    fixed in 2.16.0

  • github.com/go-skynet/LocalAIGo

    All versions

  • github.com/go-skynet/LocalAIGo

    fixed in 2.16.0

References 2

huntr.com

GitHub · mudler/localai