CVE-2026-45829

chromadb: ChromaDB Python Project: Arbitrary code execution via pre-authentication code injection

Published May 18, 2026 CVSS 4.0 · 10 Critical EPSS 1.4% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

This vulnerability allows an unauthenticated attacker to inject arbitrary code into a ChromaDB server by submitting a malicious model repository and requesting the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint with trust_remote_code set to true. Based on the CWE identifiers, the flaw involves unsafe code deserialization and execution. Successful exploitation would let the attacker run any code on the server, leading to full compromise of confidentiality, integrity, and availability.

Affected Systems

Chroma’s ChromaDB product is affected. Any deployment running version 1.0.0 or later that exposes the specified API endpoint is vulnerable.

Risk and Exploitability

The CVSS score of 10 indicates critical severity, and the EPSS score of 1% indicates that the likelihood of exploitation is very low. The vulnerability is not listed in CISA’s KEV. Based on the description, it is inferred that an attacker can exploit this flaw from any network position that can reach the vulnerable endpoint. Exploitation would involve crafting a malicious payload and sending the request, which can be automated by attackers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ChromaDB to a patched release that resolves the code injection vulnerability.
  • Disable the trust_remote_code feature or set it to false until a fix is available.
  • Restrict access to the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint by requiring authentication, firewall rules, or network segmentation.

Generated by OpenCVE AI on November 26, 2026 at 06:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f4j7-r4q5-qw2c ChromaDB Python project has a pre-authentication code injection vulnerability
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Chroma
Chroma chromadb
Vendors & Products Chroma
Chroma chromadb
Type Values Removed Values Added
Title ChromaDB Pre‑Authentication Code Injection via model repository chromadb: ChromaDB Python Project: Arbitrary code execution via pre-authentication code injection
Weaknesses CWE-502
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Critical

Type Values Removed Values Added
Title ChromaDB Pre‑Authentication Code Injection via model repository
Type Values Removed Values Added
Description 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.
Weaknesses CWE-94
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
HiddenLayer
Published
Updated
Jul 15, 2026, 11:47 AM
Reserved
May 13, 2026, 2:01 PM
Status
Awaiting Analysis
Published
May 18, 2026, 5:16 PM
Modified
Oct 26, 2026, 1:10 PM
Severity
Critical
Public date
May 18, 2026, 3:59 PM