Skip to main content

ChromaDB CVE-2026-45833

| EUVDEUVD-2026-36484 CRITICAL
Code Injection (CWE-94)
2026-06-12 HiddenLayer GHSA-36p7-vc44-83pf
9.4
CVSS 4.0 · Vendor: HiddenLayer
View

Attack ChainAIDerived

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

  1. Access
    Obtain UPDATE_COLLECTION-scoped API token
  2. Delivery
    Stage malicious model repository with trust_remote_code loader
  3. Exploit
    Send crafted PUT to /api/v2/.../collections/{id}
  4. Execution
    ChromaDB fetches and loads attacker repo
  5. Persist
    Python code executes in server process
  6. Impact
    Exfiltrate 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.

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

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

Alert me

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

ChromaDB 0.4.17 ≤*

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

Vendor (HiddenLayer) PRIMARY 9.4 CRITICAL
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Red Hat 7.5 HIGH

Primary rating from Vendor (HiddenLayer).

CVSS VectorVendor: HiddenLayer

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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 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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 85% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

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.0%
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
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
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