CVE-2025-6211Llamaindex
Medium 6.5 No auth needed
Follow: this CVE · Llamaindex · Llamaindex We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 10, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-440
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
What happens
A vulnerability in the DocugamiReader class of the run-llama/llama_index repository, up to version 0.12.28, involves the use of MD5 hashing to generate IDs for document chunks. This approach leads to hash collisions when structurally distinct chunks contain identical text, resulting in one chunk overwriting another. This can cause loss of semantically or legally important document content, breakage of parent-child chunk hierarchies, and inaccurate or hallucinated responses in AI outputs. The issue is resolved in version 0.3.1.
What to do
- Apply the vendor's security update for Llamaindex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | llama-index |
< 0.12.41 |
0.12.41 |
pip install "llama-index>=0.12.41" |
| PyPI | llama-index |
< 0.12.41 |
0.12.41 |
pip install "llama-index>=0.12.41" |
| PyPI | llama-index-readers-docugami |
< 0.3.1 |
0.3.1 |
pip install "llama-index-readers-docugami>=0.3.1" |
| PyPI | llama-index-readers-docugami |
< 0.3.1 |
0.3.1 |
pip install "llama-index-readers-docugami>=0.3.1" |
Per OSV / GitHub Advisories (GHSA-5hq9-5r78-2gjh, PYSEC-2026-2606, PYSEC-2026-1566). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| llamaindex | llamaindex | < 0.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.com Exploit Third Party Advisory