Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain UPDATE_COLLECTION-scoped API token
-
DeliveryStage malicious model repository with trust_remote_code loader
-
ExploitSend crafted PUT to /api/v2/.../collections/{id}
-
ExecutionChromaDB fetches and loads attacker repo
-
PersistPython code executes in server process
-
ImpactExfiltrate embeddings, secrets, and pivot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) an authenticated API token holding the UPDATE_COLLECTION permission on the targeted collection, (2) network reachability to the ChromaDB HTTP API on the /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id} route, and (3) the ability for the ChromaDB host to fetch the attacker-supplied model repository (typically outbound HTTPS to a model registry such as Hugging Face). The attacker must explicitly set trust_remote_code=true in the update payload and reference a repository containing malicious Python loader code. What limits exploitation: the PR:L authentication requirement (no anonymous abuse against properly configured deployments), the need for a specific RBAC permission rather than any authenticated role, and egress controls on the server that would prevent fetching the malicious repository. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VC:H/VI:H/VA:H and subsequent-system SC:H/SI:H/SA:H reflects a network-reachable, low-complexity, single-privilege-level attack with total impact on the host and downstream systems - appropriate given that successful exploitation yields code execution under the ChromaDB service account. Exploitation requires the UPDATE_COLLECTION permission, so the realistic risk depends on how broadly that role is granted; in many self-hosted deployments authentication is either disabled or shared across an entire team, which collapses the PR:L barrier in practice. EPSS data was not provided and the CVE is not in CISA KEV, so this should be treated as a credible high-priority issue rather than a confirmed active-exploitation event. No public exploit identified at time of analysis, but the technique (trust_remote_code abuse) is well documented in Hugging Face ecosystem research, so weaponization is straightforward once the endpoint surface is understood. |
| Exploit ScenarioDerived | An attacker who has obtained an API token with UPDATE_COLLECTION (e.g., a leaked CI token, a compromised internal RAG service account, or a tenant in a multi-tenant deployment) issues a PUT against /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} pointing the embedding model field at an attacker-controlled Hugging Face-style repository with trust_remote_code=true. When ChromaDB loads the model, the attacker's Python is executed in the ChromaDB process, yielding shell access on the server, theft of stored embeddings and API keys, and a pivot point into the broader RAG pipeline. No public exploit identified at time of analysis, but the trust_remote_code pattern is trivially reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
Authenticated remote code execution in ChromaDB Python project versions 0.4.17 and later enables attackers holding the UPDATE_COLLECTION permission to execute arbitrary code on the server by submitting a malicious model repository with trust_remote_code=true to the collection update endpoint. No public exploit identified at time of analysis, but the CVSS 4.0 score of 9.4 and HiddenLayer's disclosure indicate a high-severity flaw in a widely used AI vector database. The vulnerability sits in the AI/ML supply chain layer, making it particularly relevant for organizations using ChromaDB as a backend for RAG or embedding pipelines.
RemediationAI
No vendor-released patch identified at time of analysis from the supplied data; consult the HiddenLayer advisory at https://www.hiddenlayer.com/sai-security-advisory/2026-06-chromadb-5 and the upstream chroma-core/chroma GitHub repository for an updated chromadb release before deploying. As compensating controls, restrict the UPDATE_COLLECTION permission to a minimal set of trusted operators and audit any service accounts that hold it, since a single compromised token converts to RCE. Network-restrict the /api/v2/tenants/.../collections/{collection_id} endpoint behind an authenticated reverse proxy or service mesh policy so it is not reachable from tenant workloads, with the trade-off that legitimate collection-management tooling must be re-routed through that gateway. If your embedding workflow does not require remote model code, deploy ChromaDB behind an egress policy that blocks outbound traffic to model hosts such as huggingface.co, which prevents the malicious repository from being fetched at the cost of breaking dynamic model pulls; alternatively run the ChromaDB process under a sandboxed user with no write access to host or container secrets to limit blast radius.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ChromaDB is an open-source Python-based vector/embedding database commonly used as the storage backend for retrieval-augmented generation (RAG) systems and LLM applications. The root cause is CWE-94 (Improper Control of Generation of Code), arising because the collection update endpoint accepts a model repository reference together with the Hugging Face transformers/sentence-transformers parameter trust_remote_code=true. When this flag is set, the loader executes Python code shipped inside the referenced repository during model instantiation, effectively turning a model-loading operation into arbitrary code execution. The affected CPE cpe:2.3:a:chroma:chromadb covers the chromadb package distributed via PyPI, and the vulnerable route is /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id}.
Know when Chromadb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable HTTP endpoint, low complexity, requires an authenticated token with UPDATE_COLLECTION (PR:L), no user interaction, and arbitrary code execution yields full C/I/A impact on the ChromaDB host.
Primary rating from Vendor (HiddenLayer).
CVSS VectorVendor: HiddenLayer
DescriptionCVE.org
A code injection vulnerability in version 0.4.17 or later of the ChromaDB Python project allows an authenticated attacker to run arbitrary code on the server by sending a malicious model repository and trust_remote_code set to true in the /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} if they have the UPDATE_COLLECTION permission.
Articles & Coverage 2
Executive ViewAI
ChromaDB, a widely-used Python vector database deployed in AI/ML infrastructure, contains a critical authenticated remote code execution vulnerability (CVE-2026-45833, CVSS 9.4) affecting versions 0.4.17 and later. Users with UPDATE_COLLECTION permissions can execute arbitrary code on the server, threatening organizations using ChromaDB for RAG pipelines and embeddings. No public exploit identified at time of analysis, but no vendor-released patch identified at time of analysis, necessitating immediate compensating controls to prevent compromise.
Restrict UPDATE_COLLECTION permission to essential administrative accounts only; implement network-layer access controls to ChromaDB endpoints; enable comprehensive audit logging for collection operations; run ChromaDB in isolated/sandboxed environments; enforce least-privilege access for service accounts; disable trust_remote_code in collection configurations where operationally feasible; monitor collection update patterns for anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Remote code execution in ChromaDB Python (version 1.0.0 and later) allows unauthenticated attackers to execute arbitrary
Authorization bypass in ChromaDB's Python implementation lets authenticated tenants reach data outside their authorizati
Cross-tenant authorization bypass in ChromaDB's SimpleRBACAuthorizationProvider (versions 0.5.0 and later) allows authen
Cross-tenant data access in the ChromaDB Rust implementation (version 1.0.0 and later) lets any authenticated tenant use
Cross-tenant data access in ChromaDB Python project version 0.4.17 and later allows any authenticated user to read, writ
EUVD-2026-36484
GHSA-36p7-vc44-83pf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB