cve.bz

CVE-2024-5182

9.1 criticalEPSS 26%

Critical (9.1) in mudler localai. EPSS 26% chance of exploitation in the next 30 days. Fixed in github.com/go-skynet/LocalAI 2.16.0.

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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
26% chance of exploitation in the next 30 days; higher than 97% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cpcx-r2gq-x893Gogithub.com/go-skynet/LocalAI<2.16.02.16.0
GO-2024-2938Gogithub.com/go-skynet/LocalAIall versionsno fix published

References

Check your stackJSON