chroma-core/chroma · Security
ChromaDB Python project has a pre-authentication code injection vulnerability
- GHSA ID
- GHSA-f4j7-r4q5-qw2c
- CVE ID
- CVE-2026-45829
- Severity
- critical
- Published
- Updated
- CVSS
- 10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS v3
- 10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-502 · Deserialization of Untrusted Data
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-45829 ↗
- https://github.com/chroma-core/chroma/issues/6717 ↗
- https://www.hiddenlayer.com/research/chromatoast-served-pre-auth ↗
- 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 ↗