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.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
Product status
0.4.17 (custom)
References
www.hiddenlayer.com/sai-security-advisory/2026-06-chromadb-5
www.hiddenlayer.com/sai-security-advisory/2026-06-chromadb-5