CVE-2026-45833: ChromaDB Code Injection Vulnerability (8.8 CVSS) – Urgent Patch Required
ChromaDB, a popular Python vector database project, contains a code injection flaw that allows authenticated users with collection update permissions to execute arbitrary code on the server. The vulnerability exists in version 0.4.17 and later when a malicious model repository is supplied along with remote code execution enabled. This is a post-authentication attack that requires legitimate access to the system but can escalate privileges and compromise server integrity.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-94
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-12 / 2026-07-15
NVD description (verbatim)
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.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-45833 is a code injection vulnerability (CWE-94) in ChromaDB versions 0.4.17 and later. The flaw resides in the collection update API endpoint (/api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id}) and is triggered when an authenticated principal with UPDATE_COLLECTION permissions supplies a malicious model repository URI while setting trust_remote_code to true. This configuration causes ChromaDB to load and execute untrusted Python code in the server process context, bypassing normal code validation boundaries. The vulnerability requires valid authentication and specific permissions but does not require user interaction.
Business impact
Compromise of a ChromaDB instance enables an attacker to read, modify, or delete all vector data within that database, establish persistent access to the underlying server, or pivot to connected systems. Organizations using ChromaDB for semantic search, AI retrieval-augmented generation (RAG), or embeddings-based analytics face data confidentiality and integrity risks. The impact is elevated in multi-tenant deployments where a single compromised account can affect shared infrastructure. Recovery requires forensic investigation, potential data restoration, and re-authentication of affected users.
Affected systems
ChromaDB versions 0.4.17 through the current release are affected. The trychroma/chromadb open-source project and any downstream distributions or commercial products bundling this library are in scope. Organizations deploying ChromaDB as a standalone service, within Kubernetes clusters, or integrated into Python applications should audit their version and deployment topology. Self-hosted and cloud-based instances are both vulnerable if running affected versions.
Exploitability
Exploitation requires valid authentication and the UPDATE_COLLECTION permission, which is typically granted to application service accounts or privileged users. The attack is trivial to execute once those prerequisites are met—an attacker simply crafts a POST or PUT request to the collection endpoint with a malicious model repository URL and trust_remote_code=true. No public exploit code or active in-the-wild attacks have been reported as of the CVE publication date, but the relative simplicity of exploitation and the severity of code execution mean this should be treated as likely to be weaponized. The CVSS score of 8.8 (High) reflects the combination of network-accessible attack surface, low attack complexity, and complete impact to confidentiality, integrity, and availability.
Remediation
Upgrade ChromaDB to a patched version released after this advisory. Verify the specific patch version in the official ChromaDB release notes and security advisories from the trychroma project. Pending patch availability, disable remote code loading by ensuring trust_remote_code is set to false in all API calls and application configurations. Restrict UPDATE_COLLECTION permissions to only trusted service principals and review audit logs for suspicious collection updates. If ChromaDB is exposed to untrusted networks, place it behind authentication enforced by a reverse proxy and segment it from other infrastructure.
Patch guidance
Check the ChromaDB GitHub repository releases and security advisories for the fixed version number. Apply updates in a staging environment first to verify compatibility with dependent applications. After patching, restart all ChromaDB instances and confirm that trust_remote_code defaults to false in your configuration. For organizations unable to patch immediately, implement compensating controls: restrict network access to the API, enforce strong authentication, and audit collection modification events.
Detection guidance
Monitor HTTP POST and PUT requests to /api/v2/tenants/*/databases/*/collections/* endpoints for payloads containing trust_remote_code=true or unusual model_repository URIs pointing to external or suspicious sources. Log authentication events and permission assignments for UPDATE_COLLECTION roles. Enable process-level monitoring on ChromaDB servers to detect unexpected child process spawning or Python subprocess invocations. Check application logs for errors or warnings related to model loading or remote code execution. Compare deployed ChromaDB versions against the affected range (0.4.17+).
Why prioritize this
This vulnerability merits immediate attention because it enables unauthenticated-to-authenticated privilege escalation, affects a widely-used embeddings database in AI/ML pipelines, and requires minimal attacker sophistication. Although it requires valid credentials and specific permissions, those are often distributed across DevOps teams, CI/CD systems, and application instances. The impact of successful exploitation—arbitrary code execution—is maximal. Organizations relying on ChromaDB for production AI applications should treat this as critical priority.
Risk score, explained
The CVSS 3.1 score of 8.8 reflects: (1) Network-accessible attack surface (AV:N), (2) Low attack complexity with no special conditions beyond valid credentials (AC:L), (3) Requirement for low-privilege authentication and UPDATE_COLLECTION permission (PR:L), (4) No user interaction needed (UI:N), (5) Scope unchanged—impact is confined to the ChromaDB service and data (S:U), and (6) Complete compromise of confidentiality, integrity, and availability of the database and server process (C:H/I:H/A:H). The score appropriately captures the severity of code execution in a backend service context.
Frequently asked questions
Do I need to update immediately if I don't expose ChromaDB to the internet?
Yes. Even in internal networks, if any application or user account with UPDATE_COLLECTION permissions is compromised, this vulnerability can be exploited. The risk is tied to the trustworthiness of your authentication realm and service accounts, not just network exposure. Patching eliminates the entire attack surface regardless of network topology.
What if trust_remote_code is already set to false in our configuration?
If trust_remote_code is explicitly set to false and enforced by your deployment configuration, the injection vector is mitigated. However, verify this is consistent across all application code and API calls—misconfiguration by a developer could override global settings. Update to a patched version to ensure the vulnerability cannot be exploited even if configuration is changed.
Is there a patch available now?
Check the official ChromaDB GitHub repository and trychroma security advisories for the specific patched version number. This advisory does not specify a version number; consult the vendor advisory to identify which version to upgrade to.
Can I use this vulnerability to test my detection capabilities?
Do not create proof-of-concept exploits or malicious payloads targeting production ChromaDB instances. If you wish to test detection in a controlled lab environment, document your testing plan, isolate the lab from production, and ensure you have appropriate authorization from your organization's security team.
This analysis is provided for informational and educational purposes. SEC.co does not provide legal, compliance, or risk management advice. Organizations must validate all technical details against official vendor advisories and conduct their own risk assessments. Patch recommendations and deployment guidance should be verified and tested in your specific environment before production rollout. No exploit code or weaponized proof-of-concept has been provided. If you discover additional information about active exploitation or zero-day variants, report it to the ChromaDB security team and relevant authorities. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10904HIGHChrome V8 Sandbox Escape Remote Code Execution
- CVE-2026-10928HIGHScript Injection in Google Chrome Headless – CVSS 8.8 High Severity
- CVE-2026-11231HIGHChrome Safe Browsing Code Execution on macOS – Patch Now
- CVE-2026-11688HIGHChrome SVG Sandbox Escape RCE Vulnerability – Patch Urgently
- CVE-2026-1829HIGHContent Visibility for Divi Builder Plugin RCE (v4.02 and below)
- CVE-2026-25856HIGHOpenBullet2 Authenticated Remote Code Execution Vulnerability
- CVE-2026-41249HIGHCoreShop GitHub Actions RCE via Malicious Pull Request
- CVE-2026-42588HIGHApache ActiveMQ Remote Code Execution via Jolokia Code Injection