Vulnerability PYSEC-2026-2606

Medium Risk
MEDIUM RISK
CVSS Score: 6.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
3 months ago
July 13, 2026 at 02:36 PM UTC
LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class
0.4.4 - 0.12.40
0.4.4 - 0.12.40

Summary

LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class

Details

A vulnerability in the DocugamiReader class of the run-llama/llama_index repository, up to but excluding version 0.12.41, 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.

Impacted packages

Timeline

Published
3 months ago
July 13, 2026 at 02:36 PM UTC
Fixed (0.12.41)
1 year ago
June 07, 2025 at 10:05 PM UTC
Last Modified
3 months ago
July 13, 2026 at 04:43 PM UTC