ADVISORIES

PyPA Advisory Database

PYSEC-2026-3814

ChromaDB has a code injection vulnerability

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIchromadb
From 0.4.17 up to and including 1.5.9

References