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.
Published: 2026-06-12
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Tue, 16 Jun 2026 15:15:00 +0000

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


Mon, 15 Jun 2026 12:15:00 +0000

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


Fri, 12 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 12 Jun 2026 16:45:00 +0000

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

Fri, 12 Jun 2026 15:45:00 +0000

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


Subscriptions

Chroma Chromadb
Trychroma Chromadb
cve-icon MITRE

Status: PUBLISHED

Assigner: HiddenLayer

Published:

Updated: 2026-06-30T12:10:16.852Z

Reserved: 2026-05-13T14:01:39.604Z

Link: CVE-2026-45833

cve-icon Vulnrichment

Updated: 2026-06-30T03:20:38.613Z

cve-icon NVD

Status : Analyzed

Published: 2026-06-12T16:16:29.070

Modified: 2026-06-16T15:03:10.113

Link: CVE-2026-45833

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-12T15:16:33Z

Links: CVE-2026-45833 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-12T16:30:14Z

Weaknesses
  • CWE-94

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