LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component
Incomplete Documentation of Program Execution 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 involves the use of an insecure fallback strategy without sufficient input validation or protective safeguards. Version 0.12.41 renames JsonPickleSerializer to PickleSerializer and adds a warning to the docs to only use PickleSerializer to deserialize safe things.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | llama-index | >= 0.12.27, < 0.12.41 | 0.12.41 |
| Python (PyPI) | llama-index-core | >= 0.11.15, < 0.12.41 | 0.12.41 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3108
- https://github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3
- https://github.com/run-llama/llama_index
- https://github.com/run-llama/llama_index/blob/v0.12.41/CHANGELOG.md#llama-index-core-01241
- https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a
- https://pypi.org/project/llama-index-core
- https://github.com/advisories/GHSA-m84c-4c34-28gf
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-1112- Platform
- Python (PyPI)
- Package
llama-index, llama-index-core- Disclosed
- 07.07.2025
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2025-249 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-m84c-4c34-28gf - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1564 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: llama-index-core
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 04.2024 02.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 4
- Medium 3
Disclosures per year
- 2024: 3
- 2025: 6
- 2026: 1
-
LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.