Cyber Resilience

CVE-2024-2221

Path Traversal in Qdrant 1.7.4

Public PoCPath Traversal
Published
10 April 2024
Modified
14 July 2025
Patch / advisory
CVSS Score v3 9.8
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.018 77th percentile
Risk Priority 85 floored blend · peak EPSS

Summary

CVE-2024-2221 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Qdrant Qdrant. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 23% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as Similarity Search; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

qdrant/qdrant contains a path traversal and arbitrary file upload vulnerability in the /collections/{COLLECTION}/snapshots/upload endpoint that is triggered through the snapshot parameter. The flaw permits an unauthenticated remote attacker to supply a crafted path that writes an arbitrary file to any location on the server filesystem. It is tracked as CVE-2024-2221, carries a CVSS 3.0 score of 9.8, and is associated with CWE-434 and CWE-22.

An attacker with network access can send a malicious upload request that overwrites existing files, resulting in remote code execution or denial of service. Because the endpoint requires no credentials and the attack can be performed in a single request, the issue affects both integrity and availability of the qdrant instance.

The referenced GitHub commit e6411907f0ecf3c2f8ba44ab704b9e4597d9705d and the accompanying huntr report document the corrective changes applied to the snapshot upload handler. The current EPSS of 0.2553 has remained flat since disclosure and does not indicate a subsequent increase in observed exploitation interest.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

qdrant/qdrant is vulnerable to a path traversal and arbitrary file upload vulnerability via the `/collections/{COLLECTION}/snapshots/upload` endpoint, specifically through the `snapshot` parameter. This vulnerability allows attackers to upload and overwrite any file on the filesystem, leading to potential remote code execution.…

more

This issue affects the integrity and availability of the system, enabling unauthorized access and potentially causing the server to malfunction.

CWE(s)

AI Security AnalysisAI

AI Category
Similarity Search
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Qdrant is an open-source vector database designed for similarity search on high-dimensional embeddings, commonly used in AI/ML applications for semantic search, RAG, and recommendation systems. The vulnerability affects its API endpoint for snapshot uploads in collections, confirming its relevance to AI similarity search infrastructure.

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1105 Ingress Tool Transfer Command And Control
Adversaries may transfer tools or other files from an external system into a compromised environment.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-3078Same product: Qdrant Qdrant
CVE-2023-7309Shared CWE-22, CWE-434
CVE-2026-9102Shared CWE-22, CWE-434
CVE-2023-28833Shared CWE-22, CWE-434
CVE-2026-26984Shared CWE-22, CWE-434
CVE-2020-6754Shared CWE-22, CWE-434
CVE-2026-44566Shared CWE-22, CWE-434
CVE-2024-6707Shared CWE-22, CWE-434
CVE-2024-13981Shared CWE-22, CWE-434
CVE-2025-67506Shared CWE-22, CWE-434

Affected Assets

qdrant
qdrant
1.7.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2
  • V5.1.1

Mitigating Controls (NIST 800-53 r5) AI

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes special path elements before pathname construction occurs.

Malicious-code protection at entry points blocks dangerous file types from being accepted and executed.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Least functionality restricts the file types and automatic processing capabilities the system will accept.

SC-18 Mobile Code partial match

Mobile-code controls define, authorize, and block unacceptable uploaded code before automatic processing occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-05 mostly match
prevents

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce allowed file types and processing rules.

PR.PS-02 partial match
prevents

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

PR.PS-06 partial match
prevents

Secure development practices include input validation and file-type restrictions that prevent this weakness.

PR.AA-05 none match
prevents

PR.AA-05 defines and reviews access policies but does not address code-level pathname neutralization, so neither direction prevents CWE-22.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Configuration and acceptance testing verify that file-upload handling enforces allowed types and does not permit dangerous content to be stored or executed.

prevents

Secure-coding guidelines and security testing explicitly address restrictions on allowed file types and upload handling, reducing the risk that dangerous file uploads are accepted without validation.

prevents

Application security requirements include rules for safe file handling and canonicalization.

prevents

Secure architecture principles require least-privilege file access and directory isolation.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

mitigates

Information access restriction limits which files an application may read or write.

References