Incident report
Qdrant Vector Database Snapshot Upload Arbitrary File Write Path Traversal
CVE-2024-2221 uncovered a path traversal and arbitrary file upload vulnerability in Qdrant (`< v1.9.0`) via its snapshot upload endpoint `/collections/{collection}/snapshots/upload`. URL-encoded traversal sequences inside snapshot parameters bypassed path validation, enabling remote attackers to write files outside the intended snapshot storage directory. On unauthenticated or permissively exposed Qdrant instances, arbitrary file overwrites threatened full server compromise and RAG data tampering. Qdrant patched path canonicalization in v1.9.0 and advised mandatory API-key authentication.
Incident record
- Reported
- Severity
- Critical
- Vector
- Exposed Infrastructure
- Affected system type
- Distributed RAG Vector Databases
- Reference
CVE-2024-2221- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-2221
Defensive lesson
Require API authentication on all vector database management endpoints and sanitize archive/snapshot paths against canonical root prefixes.
Referenced techniques
- Exploit Public-Facing Application AML.T0049
- RAG Poisoning AML.T0070
- AI Artifact Repository AML.T0120
- Misconfigured or Publicly Exposed AI Services AML.T0132