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

Inspect in Interactive Incidents Hub

Defensive lesson

Require API authentication on all vector database management endpoints and sanitize archive/snapshot paths against canonical root prefixes.

Referenced techniques