{"id":"PYSEC-2026-311","summary":"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.","aliases":["CVE-2026-45829","GHSA-f4j7-r4q5-qw2c"],"modified":"2026-07-01T20:22:50.354214Z","published":"2026-06-29T11:50:50.691654Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45829"},{"type":"WEB","url":"https://github.com/chroma-core/chroma/issues/6717"},{"type":"PACKAGE","url":"https://github.com/chroma-core/chroma"},{"type":"WEB","url":"https://www.hiddenlayer.com/research/chromatoast-served-pre-auth"},{"type":"PACKAGE","url":"https://pypi.org/project/chromadb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f4j7-r4q5-qw2c"}],"affected":[{"package":{"name":"chromadb","ecosystem":"PyPI","purl":"pkg:pypi/chromadb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"last_affected":"1.5.9"}]}],"versions":["1.0.0","1.0.10","1.0.11","1.0.12","1.0.13","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.3.0","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/chromadb/PYSEC-2026-311.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}