Security mailing lists by PureSourceCode

CVE-2025-1753

HIGH 7.8CVSS 3.0

LLama-Index CLI OS command injection vulnerability

LLama-Index CLI version v0.12.20 contains an OS command injection vulnerability. The vulnerability arises from the improper handling of the --files argument, which is directly passed into os.system. An attacker who controls the content of this argument can inject and execute arbitrary shell commands. This vulnerability can be exploited locally if the attacker has control over the CLI arguments, and remotely if a web application calls the LLama-Index CLI with a user-controlled filename. This issue can lead to arbitrary code execution on the affected system.

Published
28 May 2025
Last modified
13 Jul 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-g99h-56mw-8263PYSEC-2025-246PYSEC-2026-1557
Sources
NVDJSONOSV GHSA-g99h-56mw-8263JSONOSV PYSEC-2025-246JSONOSV PYSEC-2026-1557JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/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.12.20:*:*:*:*:*:*:*
= 0.12.20
OSV PyPI llama-index-cli < 0.4.1 0.4.1
OSV PyPI llama-index <= 0.12.20

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 28 May 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 May 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 May 2025)
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.