Browse / Unsafe Model Loading and Supply Chain / CVE-2026-45829
ChromaDB Python project has a pre-authentication code injection vulnerability
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- chromadb (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 15.1% chance of exploitation in 30 days
How it works, in short
Sending a model repository with trust_remote_code enabled to a collection endpoint makes the server run attacker-supplied Python without authentication. (Our summary, written by a model. The source text is below.)
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-45829
- https://github.com/chroma-core/chroma/issues/6717
- https://access.redhat.com/security/cve/CVE-2026-45829
- https://bugzilla.redhat.com/show_bug.cgi?id=2479623
- https://github.com/advisories/GHSA-f4j7-r4q5-qw2c
- https://github.com/chroma-core/chroma
- https://github.com/pypa/advisory-database/tree/main/vulns/chromadb/PYSEC-2026-311.yaml
- https://pypi.org/project/chromadb
- https://www.hiddenlayer.com/research/chromatoast-served-pre-auth
Source: GitHub Advisory Database, used under CC BY 4.0.