SCA: security update for llama-index-core (GHSA-2rhq-96q8-4vjq)

high Tenable Self-Hosted Container Security Plugin ID 428313

Description

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

- A path traversal vulnerability exists in run-llama/llama_index versions 0.12.27 through 0.12.40,
specifically within the `encode_image` function in `generic_utils.py`. This vulnerability allows an
attacker to manipulate the `image_path` input to read arbitrary files on the server, including sensitive
system files. The issue arises due to improper validation or sanitization of the file path, enabling path
traversal sequences to access files outside the intended directory. The vulnerability is fixed in version
0.12.41. (CVE-2025-6209)

See Also

https://github.com/advisories/GHSA-2rhq-96q8-4vjq

Plugin Details

Severity: High

ID: 428313

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 7/8/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2025-6209

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/7/2025

Vulnerability Publication Date: 7/7/2025

Reference Information

CVE: CVE-2025-6209

cwe: CWE-29