Security mailing lists by PureSourceCode

CVE-2024-5182

CRITICAL 9.1CVSS 3.1

LocalAI path traversal vulnerability

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.

Published
20 Jun 2024
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-cpcx-r2gq-x893GO-2024-2938
Sources
NVDJSONOSV GHSA-cpcx-r2gq-x893JSONOSV GO-2024-2938JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mudler localai
cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
< 2.16.0 2.16.0
OSV Go github.com/go-skynet/LocalAI < 2.16.0 2.16.0
OSV Go github.com/go-skynet/LocalAI all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.