CVE-2026-45833: CWE-94: Improper Control of Generation of Code ('Code Injection') in Chroma ChromaDB
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.
AI Analysis
Technical Summary
This vulnerability (CWE-94) affects ChromaDB Python project version 0.4.17. An attacker who is authenticated and has the UPDATE_COLLECTION permission can exploit the flaw by submitting a malicious model repository payload to the /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} endpoint with trust_remote_code enabled. This leads to arbitrary code execution on the server, posing a critical security risk.
Potential Impact
Successful exploitation results in arbitrary code execution on the server hosting ChromaDB, potentially compromising the entire system. The attacker must be authenticated and have specific permissions, but no user interaction is required beyond that. The CVSS 4.0 score is 9.4 (critical), reflecting the high impact and ease of exploitation under these conditions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict UPDATE_COLLECTION permissions to trusted users only and avoid enabling the trust_remote_code parameter. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2026-45833: CWE-94: Improper Control of Generation of Code ('Code Injection') in Chroma ChromaDB
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.
CVSS v4.0
Score 9.4critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-94) affects ChromaDB Python project version 0.4.17. An attacker who is authenticated and has the UPDATE_COLLECTION permission can exploit the flaw by submitting a malicious model repository payload to the /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} endpoint with trust_remote_code enabled. This leads to arbitrary code execution on the server, posing a critical security risk.
Potential Impact
Successful exploitation results in arbitrary code execution on the server hosting ChromaDB, potentially compromising the entire system. The attacker must be authenticated and have specific permissions, but no user interaction is required beyond that. The CVSS 4.0 score is 9.4 (critical), reflecting the high impact and ease of exploitation under these conditions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict UPDATE_COLLECTION permissions to trusted users only and avoid enabling the trust_remote_code parameter. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- HiddenLayer
- Date Reserved
- 2026-05-13T14:01:39.604Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2c2836e617e2d83487d717
Added to database: 6/12/2026, 3:39:34 PM
Last enriched: 6/12/2026, 3:56:39 PM
Last updated: 6/12/2026, 7:53:05 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.