Skip to main content

ChromaDB CVE-2026-45829

| EUVDEUVD-2026-30779 CRITICAL
Code Injection (CWE-94)
2026-05-18 HiddenLayer GHSA-f4j7-r4q5-qw2c
10.0
CVSS 4.0 · Vendor: HiddenLayer
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed ChromaDB API
  2. Delivery
    Stage malicious model repository
  3. Exploit
    POST crafted collection request with trust_remote_code=true
  4. Execution
    ChromaDB fetches and loads remote model code
  5. Persist
    Arbitrary Python executes as service user
  6. Impact
    Exfiltrate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ChromaDB 1.0.0 ≤*

Affected Packages

pypi chromadb no fix

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

Vendor (HiddenLayer) PRIMARY 10.0 CRITICAL
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
Red Hat 10.0 CRITICAL

Primary rating from Vendor (HiddenLayer).

CVSS VectorVendor: HiddenLayer

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 66% exploitable
Threat Intel
2
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS GHSA Vendor GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy