SCA: security update for github.com/go-skynet/LocalAI (GHSA-jhvf-7c85-3c9g)

medium Tenable Cloud Security Plugin ID 446886

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing
attackers to craft malicious webpages that, when visited by a victim, perform unauthorized actions on the
victim's local LocalAI instance without their consent. This vulnerability enables attackers to exhaust
system resources, consume credits, and fill disk space by making numerous resource-intensive API calls,
such as generating images or uploading files. The vulnerability stems from the application's acceptance of
simple request content-types without requiring CSRF tokens or implementing other CSRF mitigation measures.
Successful exploitation does not require network access to the vulnerable LocalAI environment.
(CVE-2024-3135)

Solution

There is no known solution at this time.

See Also

https://github.com/advisories/GHSA-jhvf-7c85-3c9g

Plugin Details

Severity: Medium

ID: 446886

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/31/2026

Updated: 8/31/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.86

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2024-3135

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/1/2024

Vulnerability Publication Date: 4/1/2024

Reference Information

CVE: CVE-2024-3135

cwe: CWE-352