ADVISORIES

PyPA Advisory Database

PYSEC-2026-311

ChromaDB Python project has a pre-authentication code injection vulnerability

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIchromadb
From 1.0.0 up to and including 1.5.9

References