qdrant/qdrant version 1.9.0-dev is vulnerable to path traversal due to improper input validation in the /collections/{name}/snapshots/upload endpoint. By manipulating the name parameter through URL encoding, an attacker can upload a file to an arbitrary location on the system, such as /root/poc.txt. This vulnerability allows for the writing and overwriting of arbitrary files on the server, potentially leading to a full takeover of the system. The issue is fixed in version 1.9.0.
{
"github_reviewed_at": "2024-06-02T22:30:10Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-20"
],
"nvd_published_at": "2024-05-30T13:15:49Z",
"severity": "CRITICAL"
}