Security mailing lists by PureSourceCode

CVE-2024-3271

CRITICAL 9.8CVSS 3.0

llama-index-core Command Injection vulnerability

A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of underscores in code generated by LLM, to execute arbitrary code. This is achieved by crafting input that does not contain an underscore but still results in the execution of OS commands. The vulnerability allows for remote code execution (RCE) on the server hosting the application.

Published
16 Apr 2024
Last modified
16 Nov 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-77
Also known as
GHSA-r6gp-rff2-p3hfPYSEC-2026-396
Sources
NVDJSONOSV GHSA-r6gp-rff2-p3hfJSONOSV PYSEC-2026-396JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD llamaindex llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
>= 0.10.6, < 0.10.26 0.10.26
OSV PyPI llama-index-core < 0.10.24 0.10.24

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Apr 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Apr 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.