Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
mudler/localaiunspecified – < 2.16.02.16.0CNA
localai< 2.16.02.16.0CISA-ADP

Scores by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
@huntr_ai (CNA)7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

refhuntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545refgithub.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e