Security mailing lists by PureSourceCode

CVE-2025-3108

HIGH 7.5CVSS 3.1

LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component

A critical deserialization vulnerability exists in the run-llama/llama_index library's JsonPickleSerializer component, affecting versions v0.12.27 through v0.12.40. This vulnerability allows remote code execution due to an insecure fallback to Python's pickle module. JsonPickleSerializer prioritizes deserialization using pickle.loads(), which can execute arbitrary code when processing untrusted data. Attackers can exploit this by crafting malicious payloads to achieve full system compromise. The root cause includes an insecure fallback mechanism, lack of validation or safeguards, misleading design, and violation of Python security guidelines.

Published
6 Jul 2025
Last modified
13 Jul 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-1112
Also known as
GHSA-m84c-4c34-28gfPYSEC-2025-249PYSEC-2026-1564
Sources
NVDJSONOSV GHSA-m84c-4c34-28gfJSONOSV PYSEC-2025-249JSONOSV PYSEC-2026-1564JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.0 MEDIUM 5.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
OSV PyPA CVSS 3.0 MEDIUM 5.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD llamaindex llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
>= 0.12.27, < 0.12.41 0.12.41
OSV PyPI llama-index-core >= 0.11.15, < 0.12.41 0.12.41
OSV PyPI llama-index >= 0.12.27, < 0.12.41 0.12.41

References

History

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