CVE-2026-45833

chromadb: ChromaDB: Arbitrary Code Execution via Code Injection

Published Jun 12, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A code injection flaw in ChromaDB version 0.4.17 and newer allows an authenticated attacker with the UPDATE_COLLECTION permission to execute arbitrary code on the server. By sending a malicious model repository and setting trust_remote_code to true in the /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} endpoint, the attacker can cause the server to run injected code, leading to compromise of confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability affects the ChromaDB product from Chroma. All releases equal to or greater than 0.4.17 are susceptible, and the issue manifests only when the authenticated user is granted UPDATE_COLLECTION rights.

Risk and Exploitability

The CVSS score of 9.4 indicates a critical severity. Although no EPSS value is available, the lack of an EPSS score does not reduce the risk under the high-degree of internal or credential‑based exploitation. The vulnerability can be leveraged by any user with UPDATE_COLLECTION permissions, and as such, it is suitable for exploitation by malicious insiders or compromised accounts. The vulnerability is not listed in the CISA KEV catalog, but the high CVSS and the potential for arbitrary code execution warrant urgent mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ChromaDB to the latest patched version that addresses the trust_remote_code code injection flaw
  • Disable the trust_remote_code feature for all model uploads or restrict it to only trusted repositories
  • Limit UPDATE_COLLECTION permissions to a minimal set of vetted administrators
  • Apply any additional vendor‑issued workarounds that prevent code execution through the vulnerable API

Generated by OpenCVE AI on June 12, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-36p7-vc44-83pf ChromaDB has a code injection vulnerability
History
Type Values Removed Values Added
First Time appeared Trychroma
Trychroma chromadb
CPEs cpe:2.3:a:trychroma:chromadb:*:*:*:*:*:python:*:*
Vendors & Products Trychroma
Trychroma chromadb
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Title Code Execution via Trust-Remote-Code in ChromaDB 0.4.17+ chromadb: ChromaDB: Arbitrary Code Execution via Code Injection
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Code Execution via Trust-Remote-Code in ChromaDB 0.4.17+
First Time appeared Chroma
Chroma chromadb
Vendors & Products Chroma
Chroma chromadb
Type Values Removed Values Added
Description 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.
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 9.4, 'vector': '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'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
HiddenLayer
Published
Updated
Jul 31, 2026, 12:04 PM
Reserved
May 13, 2026, 2:01 PM
Status
Modified
Published
Jun 12, 2026, 4:16 PM
Modified
Oct 26, 2026, 11:10 AM
Severity
Important
Public date
Jun 12, 2026, 3:16 PM