Document-content corruption via text-only chunk IDs
Published Jul 10, 2025 · Updated Jul 10, 2025
Chunk-ID collisions in LlamaIndex DocugamiReader before 0.3.1 allow remote attackers to overwrite structurally distinct document chunks. The _build_framework_chunk function hashes only chunk text, so equal text at different XML paths receives the same ID and one chunk replaces another. Exploitation requires attacker-controlled document content to reach DocugamiReader; the result is lost hierarchy or content and unreliable retrieval output.
Summary
What happened
Chunk-ID collisions in LlamaIndex DocugamiReader before 0.3.1 allow remote attackers to overwrite structurally distinct document chunks. The _build_framework_chunk function hashes only chunk text, so equal text at different XML paths receives the same ID and one chunk replaces another. Exploitation requires attacker-controlled document content to reach DocugamiReader; the result is lost hierarchy or content and unreliable retrieval output.
The record
- CVE
- CVE-2025-6211
- Published
- Jul 10, 2025
- Updated
- Jul 10, 2025
- Vendor
- LlamaIndex
- Product
- LlamaIndex
- Classifications
- CWE-440, T1565.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- Jul 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <0.3.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Huntr DocugamiReader chunk-collision proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo