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.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
Product status
1.0.0 (semver)
Credits
Esteban Tonglet
References
www.hiddenlayer.com/research/chromatoast-served-pre-auth
www.hiddenlayer.com/research/chromatoast-served-pre-auth
github.com/chroma-core/chroma/issues/6717