Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed ChromaDB API
-
DeliveryStage malicious model repository
-
ExploitPOST crafted collection request with trust_remote_code=true
-
ExecutionChromaDB fetches and loads remote model code
-
PersistArbitrary Python executes as service user
-
ImpactExfiltrate vectors and pivot into host
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 that the attacker can reach the ChromaDB HTTP API endpoint /api/v2/tenants/{tenant}/databases/{db}/collections and that the server accepts a collection creation/configuration request carrying a user-controlled model repository reference with trust_remote_code=true; no authentication, no user interaction, and no privileges are required (CVSS PR:N/UI:N/AT:N), and the affected version range is ChromaDB 1.0.0 or later. Limiting factors are deployment-dependent: instances that are firewalled to internal-only access, fronted by an authenticating proxy, or configured to reject the trust_remote_code path significantly reduce real-world exposure, while default deployments that bind the API to externally reachable interfaces are exploitable out of the box. |
| Impact | All signals converge on this being a top-priority vulnerability: CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC:H/VI:H/VA:H and subsequent-system impact SC:H/SI:H/SA:H yields the maximum 10.0 score, indicating a network-reachable, low-complexity, unauthenticated path to full confidentiality, integrity, and availability compromise of both vulnerable and downstream components. The vulnerability is not currently listed in CISA KEV and no EPSS score was supplied in the input, so widespread mass exploitation has not been independently confirmed; however, a detailed write-up exists from HiddenLayer ('ChromaToast - Served Pre-Auth') and a public tracking issue (chroma-core/chroma#6717) raise the likelihood that working exploit code will appear quickly. The biggest open question is reachability: ChromaDB is frequently deployed inside trusted internal networks behind application servers, so real-world risk depends heavily on whether the API is exposed to untrusted networks or shared multi-tenant environments. EPSS, KEV status, and patched-version data are missing from the provided intelligence and should be verified directly with the vendor before final prioritization. |
| Exploit ScenarioDerived | An attacker with network reachability to a ChromaDB instance sends an unauthenticated POST request to /api/v2/tenants/{tenant}/databases/{db}/collections specifying a malicious Hugging Face-style model repository under their control and trust_remote_code set to true. ChromaDB fetches the repository and executes the attacker-supplied Python code during model loading, giving the attacker arbitrary code execution as the ChromaDB service user, which can be leveraged to exfiltrate the vector store, pivot into the host or surrounding RAG/LLM infrastructure, or tamper with embeddings to poison downstream model outputs. Public research from HiddenLayer describes the exploitation primitive in detail, though no public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
Remote code execution in ChromaDB Python (version 1.0.0 and later) allows unauthenticated attackers to execute arbitrary code on the server by submitting a malicious model repository with trust_remote_code enabled via the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint. The flaw carries a maximum CVSS 4.0 score of 10.0 and was disclosed publicly by HiddenLayer; no public exploit identified at time of analysis, though detailed research has been published.
RemediationAI
No vendor-released patch identified at time of analysis in the provided data, so operators should immediately monitor the upstream tracking issue at https://github.com/chroma-core/chroma/issues/6717 and the HiddenLayer advisory at https://www.hiddenlayer.com/research/chromatoast-served-pre-auth for a fixed release and upgrade ChromaDB to that patched version as soon as it is published. Until a patch is available, restrict network access to the ChromaDB API so the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint is not reachable from untrusted networks (firewall or service-mesh policies), place an authenticating reverse proxy in front of ChromaDB to eliminate the pre-auth attack surface, and where feasible reject or filter requests that include trust_remote_code=true or reference external model repositories at the proxy layer - note that filtering may break legitimate workflows that intentionally load remote model code. Additionally, run ChromaDB under a least-privileged service account in a network-segmented or container-isolated environment so that successful code execution does not yield broader host or cluster compromise.
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 a popular open-source AI-native embedding database written in Python, commonly deployed as a vector store backing retrieval-augmented generation (RAG) pipelines and LLM applications. The vulnerability is a CWE-94 Improper Control of Generation of Code ('Code Injection') flaw in the collections REST API (/api/v2/tenants/{tenant}/databases/{db}/collections), where supplying a crafted model repository together with the trust_remote_code=true parameter causes ChromaDB to load and execute attacker-controlled Python from the referenced repository. This pattern mirrors known risks with Hugging Face transformers' trust_remote_code option, which downloads and runs arbitrary model code: ChromaDB exposes this dangerous capability over an unauthenticated network API, turning a library-level footgun into a remote primitive. The affected CPE is cpe:2.3:a:chroma:chromadb covering all 1.0.0 and later releases per the EUVD record.
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:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from Vendor (HiddenLayer).
CVSS VectorVendor: HiddenLayer
DescriptionCVE.org
A pre-authentication, code injection vulnerability in version 1.0.0 or later of the ChromaDB Python project allows an unauthenticated 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/{tenant}/databases/{db}/collections endpoint.
Executive ViewAI
ChromaDB Python versions 1.0.0 and later contain a critical remote code execution vulnerability allowing unauthenticated attackers to execute arbitrary commands on affected servers via the collections endpoint. Any organization deploying ChromaDB faces potential complete system compromise without requiring valid credentials, creating immediate risk to data and infrastructure integrity.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable trust_remote_code parameter in ChromaDB configuration immediately; (2) Restrict network access to the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint to internal-only via firewall/security group rules; (3) Implement API input validation to reject model repository parameters containing executable code patterns; (4) Deploy endpoint monitoring to detect suspicious model repository submissions. These controls reduce but do not eliminate risk; vendor patch deployment is mandatory as soon as available.
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.
Authenticated remote code execution in ChromaDB Python project versions 0.4.17 and later enables attackers holding the U
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-30779
GHSA-f4j7-r4q5-qw2c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB